Skip to content

Commit 89623ad

Browse files
committed
Build - make sure all unused mix deps are removed
1 parent 02094d4 commit 89623ad

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/linux-post-tau-prod-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ echo "Compiling Erlang/Elixir files..."
3131
cd "${SCRIPT_DIR}"/server/beam/tau
3232

3333
if [ "$offline_build" == true ]; then
34+
MIX_ENV=prod mix deps.clean --unused
3435
MIX_ENV=prod mix deps.compile
3536
MIX_ENV=prod mix release --overwrite --no-deps-check
3637
else

app/win-post-tau-prod-release.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cd %~dp0
77
cd %~dp0\server\beam\tau
88

99
set MIX_ENV=prod
10+
cmd /c mix deps.clean --unused
11+
cmd /c mix deps.compile
1012
cmd /c mix tau.release
1113

1214
cd %WORKING_DIR%

0 commit comments

Comments
 (0)