blob: 5ecb125b7833b18f2ce030971dcab820a8675a85 [file] [log] [blame]
REBAR?=./rebar
all: build
clean:
$(REBAR) clean
rm -rf logs
rm -f test/*.beam
distclean: clean
git clean -fxd
build:
$(REBAR) compile
etap: test/etap.beam test/util.beam test/gen_term.beam
prove test/*.t
check: build etap
%.beam: %.erl
erlc -o test/ $<
.PHONY: all clean distclean build etap check