Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # sample script how to use legpad | |
|
ahe
2012/03/30 08:55:32
No copyright.
ahe
2012/03/30 08:55:32
#!/bin/bash
| |
| 2 | |
| 3 # 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
| |
| 4 set -x | |
|
ahe
2012/03/30 08:55:32
set -x -e
| |
| 5 DART_DIR="../../.." | |
| 6 $DART_DIR/out/Release_ia32/dart $DART_DIR/out/Release_ia32/dart2js --out=legpad. dart.js legpad.dart | |
| 7 | |
| 8 # now run legpad to generate an html page that can be used to compile example.da rt | |
|
ahe
2012/03/30 08:55:32
Long line, not a proper sentence.
| |
| 9 python legpad.py example.dart | |
|
ahe
2012/03/30 08:55:32
exec python ...
| |
| 10 | |
|
ahe
2012/03/30 08:55:32
Extra line.
| |
| OLD | NEW |