Yingdi Yu | 1cc45d9 | 2015-02-09 14:19:54 -0800 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | set -x | ||||
3 | set -e | ||||
4 | |||||
5 | # Cleanup | ||||
6 | sudo ./waf -j1 --color=yes distclean | ||||
7 | |||||
8 | # Configure/build in release mode | ||||
9 | ./waf -j1 --color=yes configure | ||||
10 | ./waf -j1 --color=yes build | ||||
11 | |||||
12 | # Cleanup | ||||
13 | sudo ./waf -j1 --color=yes distclean | ||||
14 | |||||
15 | # Configure/build in debug mode | ||||
16 | ./waf -j1 --color=yes configure --debug | ||||
17 | ./waf -j1 --color=yes build | ||||
18 | |||||
19 | # Cleanup | ||||
20 | sudo ./waf -j1 --color=yes distclean |