Skip to content

Commit

Permalink
Build - properly initialise the Phoenix app on Linux and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ethancrawford committed Oct 20, 2021
1 parent c683845 commit 9a89c45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions app/linux-prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ MIX_ENV="${MIX_ENV:-prod}" mix deps.get
MIX_ENV="${MIX_ENV:-prod}" mix release --overwrite

cp src/tau.app.src ebin/tau.app
cd "${SCRIPT_DIR}/../etc/docs"
mix setup
cd "${SCRIPT_DIR}"
5 changes: 1 addition & 4 deletions app/mac-prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ MIX_ENV="${MIX_ENV:-prod}" mix deps.get
MIX_ENV="${MIX_ENV:-prod}" mix release --overwrite

cp src/tau.app.src ebin/tau.app
cd "${SCRIPT_DIR}"
cd "${SCRIPT_DIR}/../etc/docs"
mix deps.get
cd "${SCRIPT_DIR}/../etc/docs/assets"
yarn install
mix setup
cd "${SCRIPT_DIR}"
2 changes: 2 additions & 0 deletions app/win-prebuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ cmd /c mix release --overwrite

cd %~dp0\server\beam\tau
copy /Y src\tau.app.src .\ebin\tau.app
cd %~dp0\..\etc\docs
cmd /c mix setup
cd %~dp0

0 comments on commit 9a89c45

Please sign in to comment.