refactor(Makefile): always execute prepare-build-deps script
This commit is contained in:
parent
15784fa3d2
commit
c246e758be
6
Makefile
6
Makefile
|
@ -1,4 +1,5 @@
|
|||
$(shell $(CURDIR)/scripts/git-hooks-init.sh)
|
||||
$(shell $(CURDIR)/scripts/prepare-build-deps.sh)
|
||||
REBAR = $(CURDIR)/rebar3
|
||||
BUILD = $(CURDIR)/build
|
||||
SCRIPTS = $(CURDIR)/scripts
|
||||
|
@ -111,7 +112,7 @@ cover: $(REBAR)
|
|||
coveralls: $(REBAR)
|
||||
@ENABLE_COVER_COMPILE=1 $(REBAR) as test coveralls send
|
||||
|
||||
COMMON_DEPS := $(REBAR) prepare-build-deps get-dashboard conf-segs
|
||||
COMMON_DEPS := $(REBAR) get-dashboard conf-segs
|
||||
ELIXIR_COMMON_DEPS := ensure-hex ensure-mix-rebar3 ensure-mix-rebar
|
||||
|
||||
.PHONY: $(REL_PROFILES)
|
||||
|
@ -219,9 +220,6 @@ conf-segs:
|
|||
@scripts/merge-config.escript
|
||||
@scripts/merge-i18n.escript
|
||||
|
||||
prepare-build-deps:
|
||||
@scripts/prepare-build-deps.sh
|
||||
|
||||
## elixir target is to create release packages using Elixir's Mix
|
||||
.PHONY: $(REL_PROFILES:%=%-elixir) $(PKG_PROFILES:%=%-elixir)
|
||||
$(REL_PROFILES:%=%-elixir) $(PKG_PROFILES:%=%-elixir): $(COMMON_DEPS) $(ELIXIR_COMMON_DEPS) mix-deps-get
|
||||
|
|
Loading…
Reference in New Issue