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

Unified Diff: frog/minfrog.dart

Issue 8823010: frog: life is better with colors :) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years 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/minfrog ('k') | frog/source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/minfrog.dart
diff --git a/frog/minfrog.dart b/frog/minfrog.dart
index 575900985bb16084dc3797dfa21e9e70b1035ca7..f40b540746c8de431b532fa2bfe39d40f51e6d8c 100644
--- a/frog/minfrog.dart
+++ b/frog/minfrog.dart
@@ -19,7 +19,13 @@ void main() {
if (compile(homedir, argv, new NodeFileSystem())) {
var code = world.getGeneratedCode();
- if (!options.compileOnly) {
+ if (options.compileOnly) {
+ if (options.outfile !== null) {
+ print('Compilation succeded. Code generated in: ${options.outfile}');
+ } else {
+ print('Compilation succeded.');
+ }
+ } else {
process.argv = [argv[0], argv[1]];
process.argv.addAll(options.childArgs);
// TODO(jmesserly): we shouldn't force the child process to patch argv.
« no previous file with comments | « frog/minfrog ('k') | frog/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698