Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 469 Bytes
REBAR=$(shell which rebar || echo ./rebar)
all: dirs deps compile
erl -noshell -s inets start -s ssl start \
-eval 'httpc:request(get, {"", []}, [], [{stream, "./rebar"}])' \
-s inets stop -s init stop
chmod +x ./rebar
@mkdir -p priv/tmp priv/log priv/files/image
deps: $(REBAR)
@$(REBAR) check-deps || $(REBAR) get-deps
compile: $(REBAR)
@$(REBAR) compile
clean: $(REBAR)
@$(REBAR) clean
Jump to Line
Something went wrong with that request. Please try again.