untitled-roguelike/build_debug.sh
2026-05-03 02:09:13 -07:00

11 lines
No EOL
357 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
# This creates a build that is similar to a release build, but it is debuggable.
# There is no hot reloading and no separate game library.
OUT_DIR="build/debug"
mkdir -p "$OUT_DIR"
odin build source/main_release -out:$OUT_DIR/game_debug.bin -strict-style -vet -debug
cp -R assets $OUT_DIR
echo "Debug build created in $OUT_DIR"