dart-sdk/sdk/bin
Sigmund Cherem 8415b70e75 [dart2js] recommend using 'dart compile js'.
This is the first deprecation step, moving towards having dart2js
under the more general dart command line interface.

Going forward 'dart compile js' is the recommended way to invoke
dart2js.

This CL adds:
* an internal flag used to detect how was dart2js invoked and
  provide a warning when invoked in an unsupported way.
* ensures the flag is provided in the dart cli, as well as our
  (developer's only) scripts. These scripts will likely move to a
  different location in the future. Note that the `dart2js_sdk*`
  scripts are not providing this flag (these are the script that get
  eventually shipped with our built SDK), as such, invokations of the
  dart2js binary will show the new warning.

Change-Id: I96e40ecf01598eadab20dfc59114f5fff7438084
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229062
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2022-01-21 16:42:40 +00:00
..
dart [vm] Remove deprecated (and untested) ARMv5 support from the VM 2019-10-23 14:44:33 +00:00
dart.bat Update Windows build output path in .bat files 2016-06-07 10:43:13 +02:00
dart2js [dart2js] recommend using 'dart compile js'. 2022-01-21 16:42:40 +00:00
dart2js.bat [VM] Turn dart2 on by default on the command line VM 2018-06-18 22:31:32 +00:00
dart2js_developer Refs #25328 Use a portable shebang 2016-01-05 16:26:28 +01:00
dart2js_developer.bat
dart2js_sdk Remove (most) uses of the "non-nullable" experiment flag. 2021-02-12 17:16:54 +00:00
dart2js_sdk.bat [win] Use find.exe from %SystemRoot%/System32 to avoid conflicts with cygwin find. 2020-08-14 18:22:17 +00:00
dartanalyzer Deprecate dartanalyzer command 2021-11-09 13:23:42 +00:00
dartanalyzer.bat Deprecate dartanalyzer command 2021-11-09 13:23:42 +00:00
dartanalyzer_sdk Add deprecation warnings 2022-01-20 11:46:27 +00:00
dartanalyzer_sdk.bat Add deprecation warnings 2022-01-20 11:46:27 +00:00
dartdevc [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
dartdevc.bat [win] Use find.exe from %SystemRoot%/System32 to avoid conflicts with cygwin find. 2020-08-14 18:22:17 +00:00
dartdevc_sdk [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
dartdevc_sdk.bat [win] Use find.exe from %SystemRoot%/System32 to avoid conflicts with cygwin find. 2020-08-14 18:22:17 +00:00
dartdoc Mark dartdoc deprecated 2021-12-06 15:47:17 +00:00
dartdoc.bat Mark dartdoc deprecated 2021-12-06 15:47:17 +00:00
pub.bat Fix spew when running presubmit which triggers dartfmt.bat on windows. We should also backport this change to the sdks in tools/sdk or roll a new version of the tools/sdk 2017-03-28 08:30:10 -07:00
pub_sdk Deprecate top level pub. 2021-08-24 08:34:58 +00:00
pub_sdk.bat Deprecate top level pub. 2021-08-24 08:34:58 +00:00