OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # | 2 # |
3 | 3 |
4 set -x | 4 set -x |
5 | 5 |
6 # go.sh [systems] | 6 # go.sh [systems] |
7 # | 7 # |
8 # Convenience script to generate systems. Do not call from build steps or tests | 8 # Convenience script to generate systems. Do not call from build steps or tests |
9 # - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real' | 9 # - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real' |
10 # functionality here - change the python code instead. | 10 # functionality here - change the python code instead. |
11 # | 11 # |
12 # I find it essential to generate all the systems so I know if I am breaking | 12 # I find it essential to generate all the systems so I know if I am breaking |
13 # other systems. My habit is to run: | 13 # other systems. My habit is to run: |
14 # | 14 # |
15 # ./go.sh | tee Q | 15 # ./go.sh | tee Q |
16 # | 16 # |
17 # I can inspect file Q if needed. | 17 # I can inspect file Q if needed. |
18 # | 18 # |
19 # To generate a subset of systems: | 19 # To generate a subset of systems: |
20 # | 20 # |
21 # ./go.sh dart2js,htmldart2js | 21 # ./go.sh dart2js,htmldartium |
22 # | 22 # |
23 # The following gives a picture of the changes due to 'work' | 23 # The following gives a picture of the changes due to 'work' |
24 # | 24 # |
25 # git checkout master # select client without changes | 25 # git checkout master # select client without changes |
26 # ./go.sh | 26 # ./go.sh |
27 # mv ../generated ../generated0 # save generated files | 27 # mv ../generated ../generated0 # save generated files |
28 # git checkout work # select client with changes | 28 # git checkout work # select client with changes |
29 # ./go.sh | 29 # ./go.sh |
30 # meld ../generated0 ../generated # compare directories with too | 30 # meld ../generated0 ../generated # compare directories with too |
31 | 31 |
32 ALLSYSTEMS="htmldart2js,htmldartium" | 32 ALLSYSTEMS="htmldart2js,htmldartium,_blink" |
33 SYSTEMS="$ALLSYSTEMS" | 33 SYSTEMS="$ALLSYSTEMS" |
34 | 34 |
35 if [[ "$1" != "" ]] ; then | 35 if [[ "$1" != "" ]] ; then |
36 SYSTEMS="$1" | 36 SYSTEMS="$1" |
37 fi | 37 fi |
38 | 38 |
39 reset && \ | 39 reset && \ |
40 ./dartdomgenerator.py --systems="$SYSTEMS" --logging=40 --update-dom-metadata --
gen-interop | 40 ./dartdomgenerator.py --systems="$SYSTEMS" --logging=40 --update-dom-metadata --
gen-interop |
OLD | NEW |