d673847bd8
`dartdevc --kernel` is now equivalent to the old `dartdevk` command. This will make migration easier, as it's now just a flag to enable CFE/Kernel. `dartdevk` is now deprecated, but it can be supported for a while as it just calls `dartdevc --kernel`. Change-Id: Ib8d09f74556740a3af11c753f80cd87bd4a09044 Reviewed-on: https://dart-review.googlesource.com/76566 Reviewed-by: Vijay Menon <vsm@google.com> Commit-Queue: Jenny Messerly <jmesserly@google.com>
11 lines
490 B
Dart
Executable File
11 lines
490 B
Dart
Executable File
#!/usr/bin/env dart
|
|
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'dartdevc.dart' as dartdevc;
|
|
|
|
/// Experimental command line entry point for Dart Development Compiler.
|
|
/// Unlike `dartdevc` this version uses the shared front end and IR.
|
|
main(List<String> args) => dartdevc.main(args.toList()..add('--kernel'));
|