mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 15:29:45 +00:00
8415b70e75
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> |
||
---|---|---|
.. | ||
dart | ||
dart.bat | ||
dart2js | ||
dart2js.bat | ||
dart2js_developer | ||
dart2js_developer.bat | ||
dart2js_sdk | ||
dart2js_sdk.bat | ||
dartanalyzer | ||
dartanalyzer.bat | ||
dartanalyzer_sdk | ||
dartanalyzer_sdk.bat | ||
dartdevc | ||
dartdevc.bat | ||
dartdevc_sdk | ||
dartdevc_sdk.bat | ||
dartdoc | ||
dartdoc.bat | ||
pub.bat | ||
pub_sdk | ||
pub_sdk.bat |