Permalink
Browse files

Adding a Makefile for convenience.

  • Loading branch information...
1 parent 39d462c commit b5ec8d84a973144d8ec7d0f14b94a134c453b1ae @ferd committed Nov 13, 2012
Showing with 11 additions and 13 deletions.
  1. +11 −13 Makefile
View
@@ -1,22 +1,20 @@
-all: deps compile
+.PHONY: all test clean edoc compile deps
+REBAR=./rebar
+
+all:
+ @$(REBAR) get-deps compile
compile:
- ./rebar compile
+ @$(REBAR) compile
deps:
- ./rebar get-deps
+ @$(REBAR) get-deps
clean:
- ./rebar clean
+ @$(REBAR) clean
-distclean: clean
- ./rebar delete-deps
+distclean:
+ @$(REBAR) clean delete-deps
test:
- ./rebar eunit
-
-dialyzer: compile
- @dialyzer -Wno_return -c ebin
-
-doc :
- @./rebar doc skip_deps=true
+ @$(REBAR) eunit skip_deps=true

0 comments on commit b5ec8d8

Please sign in to comment.