submods
This commit is contained in:
parent
59b57ce7ca
commit
0232c636ad
10
Makefile
10
Makefile
|
@ -5,17 +5,17 @@ BASE_DIR = $(shell pwd)
|
||||||
REBAR = $(BASE_DIR)/rebar
|
REBAR = $(BASE_DIR)/rebar
|
||||||
DIST = $(BASE_DIR)/rel/$(APP)
|
DIST = $(BASE_DIR)/rel/$(APP)
|
||||||
|
|
||||||
all: compile
|
all: submods compile
|
||||||
|
|
||||||
|
submods:
|
||||||
|
@git submodule update --init
|
||||||
|
|
||||||
compile: deps
|
compile: deps
|
||||||
@$(REBAR) compile
|
@$(REBAR) compile
|
||||||
|
|
||||||
deps: submods
|
deps:
|
||||||
@$(REBAR) get-deps
|
@$(REBAR) get-deps
|
||||||
|
|
||||||
submods:
|
|
||||||
@git submodule update --init
|
|
||||||
|
|
||||||
update-deps:
|
update-deps:
|
||||||
@$(REBAR) update-deps
|
@$(REBAR) update-deps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue