Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add local rebar

  • Loading branch information...
commit faac80a73b51806459d37e0e5b997d8acca77104 1 parent f7ce1a8
@benoitc authored
Showing with 15 additions and 14 deletions.
  1. +15 −14 Makefile
  2. BIN  rebar
View
29 Makefile
@@ -1,20 +1,21 @@
-.PHONY: deps doc
+REBAR?=./rebar
-all: deps compile
-
-compile:
- @rebar compile
-
-deps:
- @rebar get-deps
+all: build
doc:
- @rebar doc
-
-clean:
- @rebar clean
- @rm -f doc/*.html doc/*.css doc/edoc-info doc/*.png
+ $(REBAR) doc
+
+clean:
+ $(REBAR) clean
distclean: clean
- @rebar delete-deps
@rm -rf deps
+
+build: deps
+ $(REBAR) compile
+
+deps:
+ $(REBAR) get-deps
+
+
+.PHONY: doc deps
View
BIN  rebar
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.