Skip to content
Browse files

test target for makefile

  • Loading branch information...
1 parent cd2b680 commit f2b691dd62fcceb6fe59e3bf9d71c9a325f8a431 @etrepum etrepum committed Feb 15, 2008
Showing with 6 additions and 0 deletions.
  1. +3 −0 Makefile
  2. +3 −0 src/Makefile
View
3 Makefile
@@ -1,5 +1,8 @@
all:
(cd src;$(MAKE))
+test:
+ (cd src;$(MAKE) test)
+
clean:
(cd src;$(MAKE) clean)
View
3 src/Makefile
@@ -7,3 +7,6 @@ debug:
clean:
rm -rf $(EBIN_FILES)
+
+test: all
+ $(ERL) -noshell -pa ../ebin -s mochiweb test -s init stop

0 comments on commit f2b691d

Please sign in to comment.
Something went wrong with that request. Please try again.