Index: frog/frog.py |
diff --git a/frog/frog.py b/frog/frog.py |
index cbd5492c62d5e9e8f1a76a0b0296e6227b14676f..e1d784ab4a8594b0db53699f231c8e8e62b4e5b0 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); |
@@ -204,6 +205,7 @@ def compileAndRun(options, args, dart): |
result = 0 |
if not outfile_given: |
+ print 'Compilation succeded.' |
if not options.html: |
js_cmd = options.js_cmd |
result = execute(js_cmd.split(' ') + [outfile] + nodeArgs) |
@@ -212,6 +214,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: |