mirror of
https://github.com/correl/riichi.git
synced 2024-11-14 03:00:12 +00:00
15 lines
544 B
Makefile
15 lines
544 B
Makefile
PROJECT = riichi
|
|
|
|
DEPS = reloader eunit_formatters
|
|
dep_reloader = git https://github.com/oinksoft/reloader.git master
|
|
dep_eunit_formatters = git https://github.com/seancribbs/eunit_formatters.git master
|
|
|
|
include erlang.mk
|
|
|
|
ifneq ($(wildcard test/),)
|
|
ebin/$(PROJECT).app:: $(shell find test -type f -name \*_tests.erl)
|
|
$(if $(strip $?),$(call compile_erl,$?))
|
|
endif
|
|
|
|
eunit: clean deps app
|
|
$(gen_verbose) erl -noshell -pa ebin -eval 'eunit:test({application, $(PROJECT)}, [no_tty, {report, {eunit_progress, [colored, profile]}}])' -s init stop
|