X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=9c159700de599bef506f76d3d4079dc42a8b1a89;hb=4aa6c4be9b6778fc24a9a9924b45aad048026eb2;hp=338f6850d449644c0661a34b9adddd49f444954a;hpb=caf75ed8160362773766c6bde005cf5f33544392;p=beam_stats.git diff --git a/Makefile b/Makefile index 338f685..9c15970 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -REBAR := ./rebar --config rebar_test_build.config +REBAR := ./rebar .PHONY: \ all \ @@ -10,12 +10,19 @@ REBAR := ./rebar --config rebar_test_build.config deps_get \ deps_update \ dialyze \ - dialyzer_blt_build + dialyzer_blt_build \ + test \ + travis_ci all: \ + travis_ci \ + dialyze + +travis_ci: \ clean_all \ deps_get \ - compile_all + compile_all \ + test deps_get: @$(REBAR) get-deps @@ -40,7 +47,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 \ @@ -50,3 +61,6 @@ dialyzer_blt_build: | grep -v interface \ | sed -e 's/-[0-9.]*//' \ ) + +test: + @$(REBAR) ct skip_deps=true --verbose=1