From c246e758be780b1679867175be62f8d26865a417 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Fri, 12 Aug 2022 11:57:56 +0200 Subject: [PATCH] refactor(Makefile): always execute prepare-build-deps script --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 49c2b1ed7..6e68d5164 100644 --- a/Makefile +++ b/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