Initial commit

This commit is contained in:
Riyyi
2026-07-30 21:23:43 +02:00
commit 30876992f1
7 changed files with 50 additions and 0 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
PROJECT="hello-world"
VERSION="dev-$(date -u '+%Y-%m-%d')-$(git rev-parse --short HEAD)"
if [[ $1 == "debug" ]]
then
shift
odin build src/ -show-timings -collection:src=src -out:$PROJECT -microarch:native -use-separate-modules -define:VERSION=$VERSION-debug -debug $@
exit 0
fi
odin build src/ -show-timings -collection:src=src -out:$PROJECT -microarch:native -o:speed -define:VERSION=$VERSION $@