Index: tools/servicec/bin/servicec.dart |
diff --git a/tools/servicec/bin/servicec.dart b/tools/servicec/bin/servicec.dart |
deleted file mode 100644 |
index 8005f4002d4ef3313448fe73a2276a4fd9f2902d..0000000000000000000000000000000000000000 |
--- a/tools/servicec/bin/servicec.dart |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-// Copyright (c) 2015, the Dartino 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 'dart:io'; |
- |
-import 'package:servicec/compiler.dart' as servicec; |
-import 'package:args/args.dart'; |
- |
-main(List<String> arguments) { |
- ArgParser parser = new ArgParser(); |
- parser.addOption('out', defaultsTo: "."); |
- ArgResults results = parser.parse(arguments); |
- String outputDirectory = results['out']; |
- if (!(new Directory(outputDirectory)).existsSync()) { |
- print("Output directory '$outputDirectory' does not exist."); |
- exit(1); |
- } |
- if (results.rest.isEmpty) { |
- print("No input files."); |
- exit(1); |
- } |
- for (String path in results.rest) { |
- servicec.compile(path, outputDirectory); |
- } |
-} |