aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2e43f9d..96e14ae 100644
--- a/Makefile
+++ b/Makefile
@@ -38,16 +38,20 @@ endif
.PHONY: all compile doc clean test dialyzer typer shell distclean pdf \
get-deps escript clean-common-test-data rebuild
-all: compile escript dialyzer test
+all: deps compile escript dialyzer test
# =============================================================================
# Rules to build the system
# =============================================================================
-get-deps:
+deps:
$(REBAR) get-deps
$(REBAR) compile
+update-deps:
+ $(REBAR) update-deps
+ $(REBAR) compile
+
compile:
$(REBAR) skip_deps=true compile
@@ -61,7 +65,12 @@ eunit: compile clean-common-test-data
$(REBAR) skip_deps=true eunit
ct: compile clean-common-test-data
- $(REBAR) skip_deps=true ct
+ mkdir -p $(CURDIR) logs
+ ct_run -pa $(CURDIR)/ebin \
+ -pa $(CURDIR)/deps/*/ebin \
+ -logdir $(CURDIR)/logs \
+ -dir $(CURDIR)/test/ \
+ -suite rclt_command_SUITE rclt_discover_SUITE -suite rclt_release_SUITE
test: compile eunit ct