Example test and git hooks

This commit is contained in:
Riyyi
2026-08-03 21:51:48 +02:00
parent 7e3762a442
commit b3da887cc8
4 changed files with 24 additions and 2 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
mkdir -p build
odin test tests/ -collection:src=src -out:build/tests.bin \
-define:ODIN_TEST_THREADS=1 \
-define:ODIN_TEST_TRACK_MEMORY=false \
-define:ODIN_TEST_RANDOM_SEED=1 \
"$@"