Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (21 sloc) 474 Bytes
REBAR=./rebar3
GIT = git
REBAR_VER = 3.2.0
all: compile
compile:
@$(REBAR) compile
run:
@$(REBAR) shell
rebar_src:
@rm -rf $(PWD)/rebar_src
@$(GIT) clone https://github.com/erlang/rebar3.git rebar_src
@$(GIT) -C rebar_src checkout tags/$(REBAR_VER)
@cd $(PWD)/rebar_src/; ./bootstrap
@cp $(PWD)/rebar_src/rebar3 $(PWD)
@rm -rf $(PWD)/rebar_src
dialyze:
@$(REBAR) dialyzer
clean:
@rm -fv erl_crash.dump
@$(REBAR) clean
.PHONY: all compile run dialyze clean