Browse Source

Cleanup Makefile and remove included rebar

* We now expect you to have a recent version of rebar appropriate for
  your version of Erlang available and in your PATH in order to build
  pooler.

* Various Makefile cleanups. Main improvement is that default target
  now runs tests and dialyzer.
Seth Falcon 12 years ago
parent
commit
0b911f1e27
2 changed files with 10 additions and 10 deletions
  1. 10 10
      Makefile
  2. BIN
      rebar

+ 10 - 10
Makefile

@@ -1,22 +1,22 @@
-.PHONY: deps test dialyzer clean distclean doc
+.PHONY: all compile test dialyzer clean distclean doc
 
 
-all: deps
-	@./rebar compile
+all: compile test dialyzer
+	@rebar compile
 
 
-deps:
-	@./rebar get-deps
+compile:
+	@rebar compile
 
 
 test:
 test:
-	@./rebar eunit skip_deps=true
+	@rebar eunit skip_deps=true
 
 
-dialyzer: all
+dialyzer:
 	@dialyzer -Wunderspecs -r ebin
 	@dialyzer -Wunderspecs -r ebin
 
 
 doc:
 doc:
-	@./rebar doc skip_deps=true
+	@rebar doc skip_deps=true
 
 
 clean:
 clean:
-	@./rebar clean
+	@rebar clean
 
 
 distclean: clean
 distclean: clean
-	@./rebar delete-deps
+	@rebar delete-deps

BIN
rebar