| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 'dart:io'; | 5 import 'dart:io'; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 | 7 |
| 8 import 'package:immic/compiler.dart' as immic; | 8 import 'package:immic/compiler.dart' as immic; |
| 9 import 'package:args/args.dart'; | 9 import 'package:args/args.dart'; |
| 10 | 10 |
| 11 main(List<String> arguments) async { | 11 main(List<String> arguments) async { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 27 exit(1); | 27 exit(1); |
| 28 } | 28 } |
| 29 if (results.rest.isEmpty) { | 29 if (results.rest.isEmpty) { |
| 30 print("No input files."); | 30 print("No input files."); |
| 31 exit(1); | 31 exit(1); |
| 32 } | 32 } |
| 33 for (String path in results.rest) { | 33 for (String path in results.rest) { |
| 34 await immic.compile(path, outputDirectory, packagesFile); | 34 await immic.compile(path, outputDirectory, packagesFile); |
| 35 } | 35 } |
| 36 } | 36 } |
| OLD | NEW |