Skip to content

Commit

Permalink
Cleanup Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
davisp committed Apr 23, 2012
1 parent ad1d4c5 commit 64d0e65
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ clean:
rm -rf .eunit
rm test/*.beam

deps: ./deps/
./rebar get-deps update-deps


build: deps
depends:
@if test ! -d ./deps; then \
./rebar get-deps; \
else \
./rebar update-deps; \
fi

build:
@if test ! -d ./deps; then \
./rebar get-deps; \
fi
./rebar compile


Expand All @@ -23,7 +29,7 @@ eunit:
./rebar eunit skip_deps=true


check: etap eunit
check: build etap eunit


%.beam: %.erl
Expand Down

0 comments on commit 64d0e65

Please sign in to comment.