livebook/.github/scripts/app/build_windows.sh
Wojtek Mach fc7328703a
App bundling improvements (#1211)
1. Replace `mix release mac_app|mac_app_dmg|windows_installer` with a single `mix release app`
2. Extract templates (Launcher.swift, Launcher.vbs, etc) into separate
   files in app_builder/lib/templates
3. Don't verify vc_redist.x64.exe checksum as the Microsoft publishes
   new releases on the same URL
2022-06-01 22:29:54 +02:00

11 lines
359 B
Bash

#!/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_ENV=prod MIX_TARGET=app mix release app --overwrite