livebook/.github/scripts/app/build_windows.sh

15 lines
484 B
Bash
Raw Normal View History

#!/bin/bash
#
# Usage:
#
# $ sh .github/scripts/app/build_windows.sh
# $ wscript _build/app_prod/Livebook-win/LivebookLauncher.vbs
# $ start livebook://github.com/livebook-dev/livebook/blob/main/test/support/notebooks/basic.livemd
# $ start ./test/support/notebooks/basic.livemd
set -e
mix local.hex --force --if-missing
mix local.rebar --force --if-missing
MIX_ENV=prod MIX_TARGET=app mix deps.get --only prod
MIX_ENV=prod MIX_TARGET=app mix release app --overwrite