X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=6e9979779c3b47818747d0427c9365df1a82e981;hb=875ffc3ab4ea693fac1f3278b4c6429012158a89;hp=f63c06c9d5a98a4fc1a4759c8249177b467c522e;hpb=c5111006c7b48830c9020d4525193a004ec09fa5;p=beam_stats.git diff --git a/Makefile b/Makefile index f63c06c..6e99797 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -REBAR := ./rebar --config rebar_test_build.config +REBAR := ./rebar .PHONY: \ all \ @@ -10,13 +10,15 @@ REBAR := ./rebar --config rebar_test_build.config deps_get \ deps_update \ dialyze \ - dialyzer_blt_build + dialyzer_blt_build \ + test all: \ clean_all \ deps_get \ compile_all \ - dialyze + dialyze \ + test deps_get: @$(REBAR) get-deps @@ -41,7 +43,11 @@ 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 \ @@ -51,3 +57,6 @@ dialyzer_blt_build: | grep -v interface \ | sed -e 's/-[0-9.]*//' \ ) + +test: + @$(REBAR) ct skip_deps=true --verbose=1