您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

37 行
413 B

all: build
clean:
./rebar clean
rm -rf logs
rm -rf .eunit
rm test/*.beam
depends:
@if test ! -d ./deps; then \
./rebar get-deps; \
else \
./rebar update-deps; \
fi
build:
@if test ! -d ./deps; then \
./rebar get-deps; \
fi
./rebar compile
etap: test/etap.beam test/util.beam
prove test/*.t
eunit:
./rebar eunit skip_deps=true
check: build etap eunit
%.beam: %.erl
erlc -o test/ $<