Skip to content

Commit 0bcc471

Browse files
authored
Install hex and rebar automatically (#7)
1 parent 026d985 commit 0bcc471

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

run_mix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ BASE=`pwd`
55
export MIX_ENV=prod
66
export MIX_TARGET=ios
77

8+
mix local.hex --force --if-missing
9+
mix local.rebar --force --if-missing
10+
811
if [ ! -d "elixir-app" ]; then
912
git clone https://github.com/elixir-desktop/desktop-example-app.git elixir-app
1013
fi
@@ -17,8 +20,6 @@ fi
1720
cd elixir-app
1821

1922
if [ ! -d "deps/desktop" ]; then
20-
mix local.hex --force
21-
mix local.rebar --force
2223
mix deps.get
2324
fi
2425

0 commit comments

Comments
 (0)