File: Makefile

package info (click to toggle)
erlang-bitcask 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,584 kB
  • sloc: erlang: 7,923; ansic: 2,891; makefile: 182; exp: 86; sh: 14
file content (35 lines) | stat: -rw-r--r-- 510 bytes parent folder | download
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