tests: tests.sh detects directories before trying to execute them
[nit.git] / tests / Makefile
index bf9d576..0b8c466 100644 (file)
@@ -1,5 +1,5 @@
 
-PROGS=*.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../lib/*.nit ../src/nitdoc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitg.nit
+PROGS=*.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../contrib/pep8analysis/src/pep8analysis ../contrib/nitiwiki/src/nitiwiki ../lib/*.nit ../src/nitdoc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitc.nit
 
 all: niti nitg-g nitg-s
 
@@ -46,6 +46,4 @@ store:
        ./store_save.sh *.nit
 
 clean:
-       rm -r -f -- out/ alt .nit_compile errlist 2> /dev/null || true
-
-distclean: clean
+       rm -r -f -- out/ alt .nit_compile errlist errlist.bak *.xml 2> /dev/null || true