Add MIT license.
[beam_stats.git] / Makefile
CommitLineData
2a3f0971 1REBAR := ./rebar
caf75ed8
SK
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 \
b0ab6ee2 13 dialyzer_blt_build \
fa46439c
SK
14 test \
15 travis_ci
caf75ed8
SK
16
17all: \
fa46439c
SK
18 travis_ci \
19 dialyze
20
21travis_ci: \
caf75ed8
SK
22 clean_all \
23 deps_get \
c5111006 24 compile_all \
b0ab6ee2 25 test
caf75ed8
SK
26
27deps_get:
28 @$(REBAR) get-deps
29
30deps_update:
31 @$(REBAR) update-deps
32
33deps: \
34 deps_get \
35 deps_update
36
37compile_all:
38 $(REBAR) compile skip_deps=false
39
40compile_app:
41 $(REBAR) compile skip_deps=true
42
43clean_all:
44 $(REBAR) clean skip_deps=false
45
46clean_app:
47 $(REBAR) clean skip_deps=true
48
49dialyze:
7264b4f3
SK
50 @dialyzer $(shell \
51 find . -name '*.beam' \
52 | grep -v deps/meck/ \
53 )
54
caf75ed8
SK
55
56dialyzer_blt_build:
57 @dialyzer \
58 --build_plt \
59 --apps $(shell ls $(shell \
60 erl -eval 'io:format(code:lib_dir()), init:stop().' -noshell) \
61 | grep -v interface \
62 | sed -e 's/-[0-9.]*//' \
63 )
b0ab6ee2
SK
64
65test:
a7713940 66 @$(REBAR) ct skip_deps=true --verbose=1
This page took 0.038186 seconds and 4 git commands to generate.