Merge pull request #7200 from thalesmg/fix-mix-make

fix(elixir): add common target dependencies for `%-elixir-pkg`
This commit is contained in:
Thales Macedo Garitezi 2022-03-03 14:57:29 -03:00 committed by GitHub
commit f92f909c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ $(REL_PROFILES:%=%-elixir) $(PKG_PROFILES:%=%-elixir): $(COMMON_DEPS) $(ELIXIR_C
.PHONY: $(REL_PROFILES:%=%-elixir-pkg) .PHONY: $(REL_PROFILES:%=%-elixir-pkg)
define gen-elixir-pkg-target define gen-elixir-pkg-target
# the Elixir places the tar in a different path than Rebar3 # the Elixir places the tar in a different path than Rebar3
$1-elixir-pkg: $1-elixir-pkg: $(COMMON_DEPS) $(ELIXIR_COMMON_DEPS) mix-deps-get
@env TAR_PKG_DIR=_build/$1-pkg \ @env TAR_PKG_DIR=_build/$1-pkg \
IS_ELIXIR=yes \ IS_ELIXIR=yes \
$(BUILD) $1-pkg pkg $(BUILD) $1-pkg pkg