Add eqc_mini_run and eqc_run directives to Makefile

This commit is contained in:
Irina Guberman
2017-08-16 23:40:51 -05:00
parent fd796440db
commit cfd654c275
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -1,4 +1,5 @@
REBAR=rebar3
RUN_EQC=erl -pa _build/default/lib/enacl/ebin -noshell -s enacl_eqc -s init stop
.PHONY: compile
compile:
@@ -10,6 +11,12 @@ eqc_compile: compile
eqc_mini_compile: compile
erlc -Dmini -o _build/default/lib/enacl/ebin eqc_test/enacl_eqc.erl
eqc_run: eqc_compile
$(RUN_EQC)
eqc_mini_run: eqc_mini_compile
$(RUN_EQC)
.PHONE: console
console: compile
$(REBAR) shell