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

Unified Diff: frog/frog.py

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 | « no previous file | frog/frog_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/frog.py
diff --git a/frog/frog.py b/frog/frog.py
index cbd5492c62d5e9e8f1a76a0b0296e6227b14676f..d4b18befdcc18d580dddf442c8f32130807c7df2 100755
--- a/frog/frog.py
+++ b/frog/frog.py
@@ -154,6 +154,7 @@ def compileAndRun(options, args, dart):
for i in range(len(args)):
if args[i].startswith('--out'):
outfile_given = True
+ outfile = args[i][6:]
break;
if options.verbose: print "nodeArgs %s" % ' '.join(nodeArgs);
@@ -212,6 +213,8 @@ def compileAndRun(options, args, dart):
f.write(HTML)
f.close()
result = execute([browser, outhtml])
+ else:
+ print 'Compilation succeded. Code generated in: %s' % outfile
if cleanup: shutil.rmtree(workdir)
if result != 0:
« no previous file with comments | « no previous file | frog/frog_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698