#!/bin/bash ## Build a release-mode binary for Windows. set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" project_dir=${dir}/.. cd $project_dir cargo build --release --target=x86_64-pc-windows-gnu mkdir -p build/windows cp target/x86_64-pc-windows-gnu/release/rustimate.exe build/windows/rustimate.exe zip build/windows/rustimate.zip build/windows/rustimate.exe