Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1261)

Unified Diff: tools/immic/bin/immic.dart

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dartinoc_blaze.dart ('k') | tools/immic/lib/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/immic/bin/immic.dart
diff --git a/tools/immic/bin/immic.dart b/tools/immic/bin/immic.dart
deleted file mode 100644
index 81489229fecfe457e0dd585bfdfdb9562a9a40ed..0000000000000000000000000000000000000000
--- a/tools/immic/bin/immic.dart
+++ /dev/null
@@ -1,36 +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 'dart:async';
-
-import 'package:immic/compiler.dart' as immic;
-import 'package:args/args.dart';
-
-main(List<String> arguments) async {
- ArgParser parser = new ArgParser();
- parser.addOption('packages');
- parser.addOption('out', defaultsTo: ".");
- ArgResults results = parser.parse(arguments);
- String packagesFile = results['packages'];
- String outputDirectory = results['out'];
- if (!(new Directory(outputDirectory)).existsSync()) {
- print("Output directory '$outputDirectory' does not exist.");
- exit(1);
- }
- if (packagesFile == null && (new File('.packages')).existsSync()) {
- packagesFile = '.packages';
- }
- if (packagesFile != null && !(new File(packagesFile)).existsSync()) {
- print("Packages file '$packagesFile' does not exist.");
- exit(1);
- }
- if (results.rest.isEmpty) {
- print("No input files.");
- exit(1);
- }
- for (String path in results.rest) {
- await immic.compile(path, outputDirectory, packagesFile);
- }
-}
« no previous file with comments | « tools/dartinoc_blaze.dart ('k') | tools/immic/lib/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698