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 Sep 9, 2021
1 parent 1260147 commit eee5418
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 deps.get
mix release

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 deps.get
mix release

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 @@ -63,4 +63,6 @@ cmd /c mix release

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

0 comments on commit eee5418

Please sign in to comment.