| 1 |
CWD=$(shell pwd) |
| 2 |
|
| 3 |
.PHONY: ct |
| 4 |
all: compile escriptize eunit ct xref dialyze edoc |
| 5 |
ci: compile escriptize eunit ct xref dialyze |
| 6 |
|
| 7 |
compile: |
| 8 |
@./rebar3 as dev compile |
| 9 |
|
| 10 |
xref: |
| 11 |
@./rebar3 as dev xref |
| 12 |
|
| 13 |
clean: |
| 14 |
@./rebar3 clean |
| 15 |
|
| 16 |
ct: escriptize |
| 17 |
@CMD_TOOL=$(CWD)/bbmustache ./rebar3 ct |
| 18 |
|
| 19 |
cover: |
| 20 |
@./rebar3 cover |
| 21 |
|
| 22 |
eunit: |
| 23 |
@./rebar3 eunit |
| 24 |
|
| 25 |
edoc: |
| 26 |
@./rebar3 as doc edoc |
| 27 |
|
| 28 |
start: |
| 29 |
@./rebar3 as dev shell |
| 30 |
|
| 31 |
dialyze: |
| 32 |
@./rebar3 as dev dialyzer |
| 33 |
|
| 34 |
bench: |
| 35 |
@./rebar3 as test compile |
| 36 |
@./rebar3 as bench compile |
| 37 |
@./benchmarks/bench.escript |
| 38 |
|
| 39 |
escriptize: |
| 40 |
@./rebar3 as dev escriptize |
| 41 |
@cp _build/dev/bin/bbmustache . |
| 42 |
|
| 43 |
install: escriptize |
| 44 |
cp bbmustache /usr/local/bin |