Created
December 25, 2011 21:25
-
-
Save codyrioux/1519764 to your computer and use it in GitHub Desktop.
Erlang Simple Test Runner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.SUFFIXES: .erl .beam .yrl | |
.erl.beam: | |
erlc -W $< | |
.yrl.erl: | |
erlc -W $< | |
ERL = erl -boot start_clean | |
MODS = calc calc_tests | |
all: compile | |
compile: ${MODS:%=%.beam} | |
test: compile | |
${ERL} -pa ./ -s eunit test calc -s init stop | |
clean: | |
rm -rf *.beam erl_crash.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment