Skip to content

Commit

Permalink
Don't use make_archives alias
Browse files Browse the repository at this point in the history
For some unknown reason the `archive.build.all` mix task is not found
if the alias is used (but `archive.build.elixir` is found 🤷)
  • Loading branch information
gomoripeti committed Jun 26, 2024
1 parent c661e8c commit 186d44c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ app:: $(elixir_srcs) deps

dist:: app
mkdir -p $(DIST_DIR)
$(MIX) make_archives
$(MIX) archive.build.elixir
$(MIX) archive.build.all
cp -r _build/$(MIX_ENV)/archives/elixir-*.ez $(DIST_DIR)
cp -r _build/$(MIX_ENV)/archives/$(PROJECT)-*.ez $(DIST_DIR)

test-build:: app
mkdir -p $(DIST_DIR)
$(MIX) make_archives
$(MIX) archive.build.elixir
$(MIX) archive.build.all
cp -r _build/$(MIX_ENV)/archives/elixir-*.ez $(DIST_DIR)
cp -r _build/$(MIX_ENV)/archives/$(PROJECT)-*.ez $(DIST_DIR)

Expand Down

0 comments on commit 186d44c

Please sign in to comment.