Move full dependency info from test to main rebar.config
[beam_stats.git] / Makefile
1 REBAR := ./rebar
2
3 .PHONY: \
4 all \
5 clean_all \
6 clean_app \
7 compile_all \
8 compile_app \
9 deps \
10 deps_get \
11 deps_update \
12 dialyze \
13 dialyzer_blt_build \
14 test
15
16 all: \
17 clean_all \
18 deps_get \
19 compile_all \
20 dialyze \
21 test
22
23 deps_get:
24 @$(REBAR) get-deps
25
26 deps_update:
27 @$(REBAR) update-deps
28
29 deps: \
30 deps_get \
31 deps_update
32
33 compile_all:
34 $(REBAR) compile skip_deps=false
35
36 compile_app:
37 $(REBAR) compile skip_deps=true
38
39 clean_all:
40 $(REBAR) clean skip_deps=false
41
42 clean_app:
43 $(REBAR) clean skip_deps=true
44
45 dialyze:
46 @dialyzer $(shell \
47 find . -name '*.beam' \
48 | grep -v deps/meck/ \
49 )
50
51
52 dialyzer_blt_build:
53 @dialyzer \
54 --build_plt \
55 --apps $(shell ls $(shell \
56 erl -eval 'io:format(code:lib_dir()), init:stop().' -noshell) \
57 | grep -v interface \
58 | sed -e 's/-[0-9.]*//' \
59 )
60
61 test:
62 @$(REBAR) ct skip_deps=true --verbose=1
This page took 0.044091 seconds and 4 git commands to generate.