Skip to content

Commit

Permalink
Add makefile and improve gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Heyll committed Dec 11, 2012
1 parent 7e96898 commit de137f1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,2 +1,5 @@
.project .project
target/ target/
ebin/
.eunit/
doc/
22 changes: 22 additions & 0 deletions Makefile
@@ -0,0 +1,22 @@
REBAR="./rebar"
SHELL = /bin/sh

.DEFAULT_GOAL := compile

.PHONY = compile clean test doc

doc:
$(REBAR) doc skip_deps=true
# mv doc/*.html .


compile:
$(REBAR) get-deps
$(REBAR) compile

test:
$(REBAR) skip_deps=true eunit

clean:
$(REBAR) clean
rm -rf doc

0 comments on commit de137f1

Please sign in to comment.