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

Unified Diff: frog/minfrogc.dart

Issue 10548047: Remove frog from the repository. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move test and update apidoc.gyp. Created 8 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 | « frog/method_data.dart ('k') | frog/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/minfrogc.dart
diff --git a/frog/minfrogc.dart b/frog/minfrogc.dart
deleted file mode 100644
index 70af32ae053da61b3843c2675a3509e9e83030ec..0000000000000000000000000000000000000000
--- a/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);
- }
-}
« no previous file with comments | « frog/method_data.dart ('k') | frog/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698