Files
Neutron/scripts/build-windows.sh
T

9 lines
327 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
source "$(dirname "$0")/env.sh"
if [[ ! -f .tools/sdl-win/SDL3.dll ]]; then
printf '%s\n' 'SDL3.dll missing: run scripts/bootstrap.sh or provide .tools/sdl-win/SDL3.dll.' >&2
exit 1
fi
dotnet publish GamePort.csproj -c Release -r win-x64 --self-contained true -o dist/win-x64 "$@"