Skip to content

Commit ad722f6

Browse files
committed
Build - properly initialise the Phoenix app on Linux and Windows
1 parent 18dd82f commit ad722f6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/linux-prebuild.sh

+2
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ MIX_ENV="${MIX_ENV:-prod}" mix deps.get
5454
MIX_ENV="${MIX_ENV:-prod}" mix release --overwrite
5555

5656
cp src/tau.app.src ebin/tau.app
57+
cd "${SCRIPT_DIR}/../etc/docs"
58+
mix setup
5759
cd "${SCRIPT_DIR}"

app/mac-prebuild.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ MIX_ENV="${MIX_ENV:-prod}" mix deps.get
9191
MIX_ENV="${MIX_ENV:-prod}" mix release --overwrite
9292

9393
cp src/tau.app.src ebin/tau.app
94-
cd "${SCRIPT_DIR}"
9594
cd "${SCRIPT_DIR}/../etc/docs"
96-
mix deps.get
97-
cd "${SCRIPT_DIR}/../etc/docs/assets"
98-
yarn install
95+
mix setup
9996
cd "${SCRIPT_DIR}"

app/win-prebuild.bat

+2
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ cmd /c mix release --overwrite
6464

6565
cd %~dp0\server\beam\tau
6666
copy /Y src\tau.app.src .\ebin\tau.app
67+
cd %~dp0\..\etc\docs
68+
cmd /c mix setup
6769
cd %~dp0

0 commit comments

Comments
 (0)