| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env dart | |
| 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 5 | |
| 6 library build; | |
| 7 | |
| 8 import 'tools/create_bootstrap.dart' as createBootstrap; | |
| 9 import 'dart:io'; | |
| 10 | |
| 11 void main(List<String> arguments) { | |
| 12 final scriptPath = new Path(Platform.script).directoryPath; | |
| 13 final libPath = scriptPath.append('lib'); | |
| 14 | |
| 15 final changedOpt = "--changed=${libPath.append('js.dart')}"; | |
| 16 for (String arg in arguments) { | |
| 17 if (arg == changedOpt) { | |
| 18 createBootstrap.create(libPath); | |
| 19 } | |
| 20 } | |
| 21 } | |
| OLD | NEW |