Skip to content

Commit cdc701e

Browse files
committed
Build - properly initialise the Phoenix app on Linux and Windows
1 parent 2dbd99e commit cdc701e

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 deps.get
5454
mix release
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 deps.get
9191
mix release
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
@@ -63,4 +63,6 @@ cmd /c mix release
6363

6464
cd %~dp0\server\erlang\tau
6565
copy /Y src\tau.app.src .\ebin\tau.app
66+
cd %~dp0\..\etc\docs
67+
cmd /c mix setup
6668
cd %~dp0

0 commit comments

Comments
 (0)