Chromium Code Reviews| 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.
|