Skip to content
This repository
tree: df7aab98cd
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (20 sloc) 0.583 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
all:
(cd src;$(MAKE) generate)
(cd src;$(MAKE))
(cd test;$(MAKE))

tests: all
@for f in $(patsubst ebin/%.beam,%,$(wildcard ebin/*_test.beam)) ; do echo "++++++ Running $$f ++++++" ; erl -noshell -pa ebin -s $$f test -s init stop ; done

test: all
ifdef m
@echo "++++++ Running $(m)_test ++++++"
@erl -noshell -pa ebin -s $(m)_test test -s init stop
else
@echo "Please specify module for test (m=xxx)"
endif

docs:
erl -pa `pwd`/ebin \
-noshell \
-run edoc_run application "'BeepBeep'" '"."' '[no_packages]'

clean:
(cd src;$(MAKE) clean)
(cd test;$(MAKE) clean)
Something went wrong with that request. Please try again.