1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
.PHONY: compile rel cover test dialyzer eqc
REBAR=./rebar3
compile:
$(REBAR) compile
clean:
$(REBAR) clean
cover: test
$(REBAR) cover
test: compile
$(REBAR) eunit
dialyzer:
$(REBAR) dialyzer
eqc:
$(REBAR) eqc
xref:
$(REBAR) xref
PULSE_TESTING_TIME ?= 30
pulse: compile
mkdir -p .pulse
cp eqc/pulse/Emakefile .pulse
cp _build/default/lib/bitcask/ebin/bitcask.app .pulse
(cd .pulse; \
erl -make; \
erl -noshell -s bitcask_pulse run_tests $(PULSE_TESTING_TIME))
check: test dialyzer xref
|