Implement type-safe input handling

This commit is contained in:
Riyyi
2026-09-12 15:08:50 +02:00
parent 90602ff1ff
commit f1028acb10
8 changed files with 301 additions and 28 deletions
+3 -1
View File
@@ -5,6 +5,8 @@ set -eu
PROJECT="sindri"
VERSION="dev-$(date -u '+%Y-%m-%d')-$(git rev-parse --short HEAD)"
OPTION="${1:-}"
# ------------------------------------------
# Setup compiled wgpu binary
@@ -39,7 +41,7 @@ if pgrep -x $PROJECT >/dev/null; then
exit 0
fi
if [ "$1" = "debug" ]; then
if [ "$OPTION" = "debug" ]; then
shift
odin build src/ -show-timings \