Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (26 sloc) 515 Bytes
REBAR="./rebar"
SHELL = /bin/sh
.DEFAULT_GOAL := compile
.PHONY = compile clean test edoc dep
dep:
$(REBAR) get-deps
$(REBAR) update-deps
edoc:
$(REBAR) doc skip_deps=true
git checkout gh-pages
mv doc/*.html .
mv doc/*.css .
mv doc/*.png .
git add .
git commit -m "Update auto-generated E-Doc"
git push origin gh-pages
git checkout master
compile:
$(REBAR) compile
eunit: compile clean
$(REBAR) skip_deps=true eunit
clean:
$(REBAR) clean
rm -f doc/*.html
rm -f doc/*.css
rm -f doc/*.png
Something went wrong with that request. Please try again.