OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 import 'package:analyzer_cli/src/driver.dart'; | 6 import 'package:analyzer_cli/starter.dart'; |
7 | 7 |
8 | 8 /// The entry point for the command-line analyzer. |
9 | |
10 | |
11 /// The entry point for the analyzer. | |
12 void main(List<String> args) { | 9 void main(List<String> args) { |
13 var starter = new Driver(); | 10 CommandLineStarter starter = new CommandLineStarter(); |
14 starter.start(args); | 11 starter.start(args); |
15 | |
16 } | 12 } |
OLD | NEW |