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

Unified Diff: tools/testing/legpad/example.sh

Issue 9866022: legpad.py (python script that generates legpad.html files) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: throw on compilation error Created 8 years, 9 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
Index: tools/testing/legpad/example.sh
diff --git a/tools/testing/legpad/example.sh b/tools/testing/legpad/example.sh
new file mode 100755
index 0000000000000000000000000000000000000000..cd25d4da2a1637294956cdca495c834fbcf6f031
--- /dev/null
+++ b/tools/testing/legpad/example.sh
@@ -0,0 +1,10 @@
+# sample script how to use legpad
ahe 2012/03/30 08:55:32 No copyright.
ahe 2012/03/30 08:55:32 #!/bin/bash
+
+# first compile "legpad.dart" to "legpad.dart.js" usung dart2js
ahe 2012/03/30 08:55:32 using
ahe 2012/03/30 08:55:32 Not a proper sentence. Start with a capitalized wo
+set -x
ahe 2012/03/30 08:55:32 set -x -e
+DART_DIR="../../.."
+$DART_DIR/out/Release_ia32/dart $DART_DIR/out/Release_ia32/dart2js --out=legpad.dart.js legpad.dart
+
+# now run legpad to generate an html page that can be used to compile example.dart
ahe 2012/03/30 08:55:32 Long line, not a proper sentence.
+python legpad.py example.dart
ahe 2012/03/30 08:55:32 exec python ...
+
ahe 2012/03/30 08:55:32 Extra line.

Powered by Google App Engine
This is Rietveld 408576698