File tree Expand file tree Collapse file tree 1 file changed +5
-30
lines changed
Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Original file line number Diff line number Diff line change 1- .PHONY : compile xref eunit clean doc check make deps test
1+ .PHONY : compile xref eunit clean check-all make deps test
22
33REBAR =./rebar3
44
@@ -10,8 +10,6 @@ ma: all
1010mak : all
1111make : all
1212
13- console : compile
14- @erl -pa ebin
1513deps :
1614 @$(REBAR ) update-deps get-deps
1715
@@ -27,34 +25,11 @@ test:
2725clean :
2826 @$(REBAR ) clean
2927
30- doc :
31- @$(REBAR ) doc
28+ dialyzer :
29+ @$(REBAR ) dialyzer
3230
33- APPS = kernel stdlib runtime_tools
34- COMBO_PLT = $(HOME ) /.msgpack_dialyzer_plt
35-
36- check_plt : xref
37- dialyzer --check_plt --plt $(COMBO_PLT ) --apps $(APPS )
38-
39- build_plt : xref
40- dialyzer --build_plt --output_plt $(COMBO_PLT ) --apps $(APPS )
41-
42- dialyzer : xref
43- @echo
44- @echo Use " 'make check_plt'" to check PLT prior to using this target.
45- @echo Use " 'make build_plt'" to build PLT prior to using this target.
46- @echo
47- @sleep 1
48- dialyzer -Wno_return --plt $(COMBO_PLT ) ebin | fgrep -v -f ./dialyzer.ignore-warnings
49-
50-
51-
52- check : compile xref
53- # @echo "you need $(REBAR) build-plt before make check"
54- # @$(REBAR) build-plt
55- dialyzer --check
56- # @$(REBAR) check-plt
57- # @$(REBAR) dialyze
31+ check-all :
32+ @$(REBAR ) eunit xref dialyzer
5833
5934crosslang :
6035 @echo " do ERL_LIBS=../ before you make crosslang or fail"
You can’t perform that action at this time.
0 commit comments