Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -x |
| 3 | set -e |
| 4 | |
| 5 | # Cleanup |
| 6 | sudo ./waf -j1 --color=yes distclean |
| 7 | |
Junxiao Shi | 6eff4e5 | 2015-06-28 12:57:29 -0700 | [diff] [blame] | 8 | # Configure/build in release mode without tests |
Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 9 | ./waf -j1 --color=yes configure |
| 10 | ./waf -j1 --color=yes build |
| 11 | |
| 12 | # Cleanup |
| 13 | sudo ./waf -j1 --color=yes distclean |
| 14 | |
Junxiao Shi | 6eff4e5 | 2015-06-28 12:57:29 -0700 | [diff] [blame] | 15 | # Configure/build in debug mode with tests |
| 16 | ./waf -j1 --color=yes configure --with-tests --debug |
Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 17 | ./waf -j1 --color=yes build |