diff options
author | Sean Dague | 2008-09-10 20:31:24 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-10 20:31:24 +0000 |
commit | b7dde334787f9a3267aab81c19cddd32df9ccc19 (patch) | |
tree | 13e0553e473ab4c9cc47eaa66ab25236d579078d /Makefile | |
parent | added in a few more tests (diff) | |
download | opensim-SC-b7dde334787f9a3267aab81c19cddd32df9ccc19.zip opensim-SC-b7dde334787f9a3267aab81c19cddd32df9ccc19.tar.gz opensim-SC-b7dde334787f9a3267aab81c19cddd32df9ccc19.tar.bz2 opensim-SC-b7dde334787f9a3267aab81c19cddd32df9ccc19.tar.xz |
have the Makefile run prebuild on test targets as well as it
helps to actually include new test files to run prior to upload.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,8 +1,10 @@ | |||
1 | NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) | 1 | NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) |
2 | 2 | ||
3 | all: | 3 | prebuild: |
4 | # @export PATH=/usr/local/bin:$(PATH) | ||
5 | ./runprebuild.sh | 4 | ./runprebuild.sh |
5 | |||
6 | all: prebuild | ||
7 | # @export PATH=/usr/local/bin:$(PATH) | ||
6 | ${NANT} | 8 | ${NANT} |
7 | find OpenSim -name \*.mdb -exec cp {} bin \; | 9 | find OpenSim -name \*.mdb -exec cp {} bin \; |
8 | 10 | ||
@@ -10,10 +12,10 @@ clean: | |||
10 | # @export PATH=/usr/local/bin:$(PATH) | 12 | # @export PATH=/usr/local/bin:$(PATH) |
11 | ${NANT} clean | 13 | ${NANT} clean |
12 | 14 | ||
13 | test: | 15 | test: prebuild |
14 | ${NANT} test | 16 | ${NANT} test |
15 | 17 | ||
16 | test-xml: | 18 | test-xml: prebuild |
17 | ${NANT} test-xml | 19 | ${NANT} test-xml |
18 | 20 | ||
19 | tags: | 21 | tags: |