mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-22 22:05:03 +08:00
15 lines
493 B
Bash
Executable file
15 lines
493 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Usage:
|
|
#
|
|
# $ sh .github/scripts/app/build_mac.sh
|
|
# $ open _build/app_prod/Livebook.app
|
|
# $ open livebook://github.com/livebook-dev/livebook/blob/main/test/support/notebooks/basic.livemd
|
|
# $ open ./test/support/notebooks/basic.livemd
|
|
set -e
|
|
|
|
. .github/scripts/app/bootstrap_mac.sh
|
|
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
|