Sfoglia il codice sorgente

have the Makefile run prebuild on test targets as well as it
helps to actually include new test files to run prior to upload.

Sean Dague 15 anni fa
parent
commit
b7dde33478
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 6 4
      Makefile

+ 6 - 4
Makefile

@@ -1,8 +1,10 @@
 NANT	= $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
 
-all:
-	# @export PATH=/usr/local/bin:$(PATH)
+prebuild:
 	./runprebuild.sh
+
+all: prebuild
+	# @export PATH=/usr/local/bin:$(PATH)
 	${NANT}
 	find OpenSim -name \*.mdb -exec cp {} bin \; 
 
@@ -10,10 +12,10 @@ clean:
 	# @export PATH=/usr/local/bin:$(PATH)
 	${NANT} clean
 
-test:
+test: prebuild
 	${NANT} test
 
-test-xml:
+test-xml: prebuild
 	${NANT} test-xml
 
 tags: