Branchwell

Clearwake / app · clearwake.ai / scripts / package-windows.sh

Raw 468 B on 50233c80eae1be554eda84594e30c13efcafb9d4
1#!/bin/sh
2# Windows x86-64 build, cross-compiled from Linux (needs mingw-w64).
3set -e
4cd "$(dirname "$0")/.."
5cargo build -p clearwake --release --target x86_64-pc-windows-gnu
6rm -rf dist/Clearwake-windows && mkdir -p dist/Clearwake-windows
7cp target/x86_64-pc-windows-gnu/release/clearwake.exe dist/Clearwake-windows/Clearwake.exe
8(cd dist && rm -f Clearwake-windows-x64.zip && zip -qr Clearwake-windows-x64.zip Clearwake-windows)
9echo dist/Clearwake-windows-x64.zip