Skip to content

Commit

Permalink
Fetch deps if necessary when using make
Browse files Browse the repository at this point in the history
  • Loading branch information
MSch committed Sep 17, 2013
1 parent 7c1d0bc commit e5cd6a0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Makefile
Expand Up @@ -13,19 +13,24 @@
## See the License for the specific language governing permissions and
## limitations under the License.
##==============================================================================
.PHONY: all compile clean test doc
.PHONY: all compile clean deps distclean test doc

all: compile
all: deps compile

compile:
compile: deps
./rebar compile

deps:
test -d deps || ./rebar get-deps

clean:
./rebar clean

test:
distclean: clean
./rebar delete-deps

test:
./rebar eunit

doc:
./rebar doc

0 comments on commit e5cd6a0

Please sign in to comment.