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

Unified Diff: tools/servicec/bin/servicec.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/immic/pubspec.yaml ('k') | tools/servicec/lib/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
- }
-}
« no previous file with comments | « tools/immic/pubspec.yaml ('k') | tools/servicec/lib/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698