25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
325 B

REBAR?=./rebar
all: build
clean:
$(REBAR) clean
rm -rf logs
rm -rf .eunit
rm -f test/*.beam
deps: ./deps/
$(REBAR) get-deps update-deps
build: deps
$(REBAR) compile
etap: test/etap.beam test/util.beam
prove test/*.t
eunit:
$(REBAR) eunit skip_deps=true
check: etap eunit
%.beam: %.erl
erlc -o test/ $<