Branchwell

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

Raw 468 B on 20b8c6e2a5f07ab8711b2f6a645a2ab0331956c0
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