blob: 97fec1a16b3a6263e69e2a8515cd3552b59a7447 (
plain)
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
|
include ../support/include.mk
APPLICATION=skel
DOC_OPTS={dir,\"../doc\"}
TEST_PLT=$(TEST_DIR)/dialyzer_plt
all: $(EBIN_FILES)
debug:
$(MAKE) DEBUG=-DDEBUG
clean:
rm -rf $(EBIN_FILES)
edoc:
$(ERL) -noshell -pa ../ebin \
-eval "edoc:application($(APPLICATION), \".\", [$(DOC_OPTS)])" \
-s init stop
test: $(EBIN_FILES)
mkdir -p $(TEST_DIR);
@../support/run_tests.escript $(EBIN_DIR) | tee $(TEST_DIR)/test.log
$(TEST_PLT):
mkdir -p $(TEST_DIR)
cp $(DIALYZER_PLT) $(TEST_PLT)
dialyzer --plt $(TEST_PLT) --add_to_plt -r ../deps/*/ebin
clean_plt:
rm $(TEST_PLT)
dialyzer: $(TEST_PLT)
dialyzer --src --plt $(TEST_PLT) -DNOTEST -DDIALYZER -c ../src | tee $(TEST_DIR)/dialyzer.log
|