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: |