| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:polymer/builder.dart'; | 5 import 'package:polymer/builder.dart'; |
| 6 import 'dart:io'; | 6 import 'dart:io'; |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 lint() | 10 lint() |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 compileToJs(_) { | 37 compileToJs(_) { |
| 38 print("Running dart2js"); | 38 print("Running dart2js"); |
| 39 runDart2JS('out/web/index.html_bootstrap.dart', | 39 runDart2JS('out/web/index.html_bootstrap.dart', |
| 40 'out/web/index.html_bootstrap.dart.js'); | 40 'out/web/index.html_bootstrap.dart.js'); |
| 41 runDart2JS('out/web/index_devtools.html_bootstrap.dart', | 41 runDart2JS('out/web/index_devtools.html_bootstrap.dart', |
| 42 'out/web/index_devtools.html_bootstrap.dart.js'); | 42 'out/web/index_devtools.html_bootstrap.dart.js'); |
| 43 print("Done"); | 43 print("Done"); |
| 44 } | 44 } |
| OLD | NEW |