home
/
code
/
beam_stats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo
[beam_stats.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
338f685
..
8727235
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-REBAR := ./rebar
--config rebar_test_build.config
+REBAR := ./rebar
.PHONY: \
all \
.PHONY: \
all \
@@
-10,12
+10,19
@@
REBAR := ./rebar --config rebar_test_build.config
deps_get \
deps_update \
dialyze \
deps_get \
deps_update \
dialyze \
- dialyzer_blt_build
+ dialyzer_plt_build \
+ test \
+ travis_ci
all: \
all: \
+ travis_ci \
+ dialyze
+
+travis_ci: \
clean_all \
deps_get \
clean_all \
deps_get \
- compile_all
+ compile_all \
+ test
deps_get:
@$(REBAR) get-deps
deps_get:
@$(REBAR) get-deps
@@
-40,9
+47,13
@@
clean_app:
$(REBAR) clean skip_deps=true
dialyze:
$(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 \
@dialyzer \
--build_plt \
--apps $(shell ls $(shell \
@@
-50,3
+61,6
@@
dialyzer_blt_build:
| grep -v interface \
| sed -e 's/-[0-9.]*//' \
)
| grep -v interface \
| sed -e 's/-[0-9.]*//' \
)
+
+test:
+ @$(REBAR) ct skip_deps=true --verbose=1
This page took
0.028267 seconds
and
4
git commands to generate.