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

Unified Diff: lib/dartdoc/frog/minfrogc.dart

Issue 10696191: Frog removed from dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
Index: lib/dartdoc/frog/minfrogc.dart
diff --git a/lib/dartdoc/frog/minfrogc.dart b/lib/dartdoc/frog/minfrogc.dart
deleted file mode 100644
index 70af32ae053da61b3843c2675a3509e9e83030ec..0000000000000000000000000000000000000000
--- a/lib/dartdoc/frog/minfrogc.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012, the Dart 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.
-
-#library('minfrogc');
-
-#import('dart:io');
-#import('file_system_vm.dart');
-#import('lang.dart');
-
-main() {
- List<String> argv = (new Options()).arguments;
-
- // Infer --out if there is none defined.
- var outFileDefined = false;
- for (var arg in argv) {
- if (arg.startsWith('--out=')) outFileDefined = true;
- }
-
- if (!outFileDefined) {
- argv.insertRange(0, 1, "--out=${argv[argv.length-1]}.js");
- }
-
- // TODO(dgrove) we're simulating node by placing the arguments to frogc
- // starting at index 2.
- argv.insertRange(0, 2, null);
-
- // TODO(dgrove) Until we have a way of getting the executable's path, we'll
- // run from '.'
- var homedir = (new File('.')).fullPathSync();
-
- if (!compile(homedir, argv, new VMFileSystem())) {
- print("Compilation failed");
- exit(1);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698