2022-03-02 19:06:30 +08:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Usage:
|
|
|
|
#
|
|
|
|
# $ sh .github/scripts/app/build_windows.sh
|
2022-06-02 04:29:54 +08:00
|
|
|
# $ wscript _build/app_prod/Livebook-win/LivebookLauncher.vbs
|
2022-03-02 19:06:30 +08:00
|
|
|
# $ start livebook://github.com/livebook-dev/livebook/blob/main/test/support/notebooks/basic.livemd
|
|
|
|
# $ start ./test/support/notebooks/basic.livemd
|
|
|
|
set -e
|
|
|
|
|
2022-08-11 19:56:46 +08:00
|
|
|
mix local.hex --force --if-missing
|
|
|
|
mix local.rebar --force --if-missing
|
|
|
|
MIX_ENV=prod MIX_TARGET=app mix deps.get --only prod
|
2022-06-02 04:29:54 +08:00
|
|
|
MIX_ENV=prod MIX_TARGET=app mix release app --overwrite
|