X-Git-Url: https://git.xandkar.net/?p=beam_stats.git;a=blobdiff_plain;f=Makefile;h=872723525e1f8e3c28cdfc2f0147d3890f87ec0d;hp=5078ecd1c1fc46ef85aaf3b47a840bf619118ea9;hb=HEAD;hpb=b0ab6ee2c0bea2f50a60d2260fc2e71dfb01320b diff --git a/Makefile b/Makefile index 5078ecd..8727235 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -REBAR := ./rebar --config rebar_test_build.config +REBAR := ./rebar .PHONY: \ all \ @@ -10,14 +10,18 @@ REBAR := ./rebar --config rebar_test_build.config deps_get \ deps_update \ dialyze \ - dialyzer_blt_build \ - test + dialyzer_plt_build \ + test \ + travis_ci all: \ + travis_ci \ + dialyze + +travis_ci: \ clean_all \ deps_get \ compile_all \ - dialyze \ test deps_get: @@ -43,9 +47,13 @@ clean_app: $(REBAR) clean skip_deps=true dialyze: - @dialyzer deps/*/ebin ebin + @dialyzer $(shell \ + find . -name '*.beam' \ + | grep -v deps/meck/ \ + ) + -dialyzer_blt_build: +dialyzer_plt_build: @dialyzer \ --build_plt \ --apps $(shell ls $(shell \ @@ -55,4 +63,4 @@ dialyzer_blt_build: ) test: - @rebar ct skip_deps=true + @$(REBAR) ct skip_deps=true --verbose=1