aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2024-02-22 20:46:13 +0100
committerDanielGavin <danielgavin5@hotmail.com>2024-02-22 20:46:13 +0100
commitacb232ac94f46d6c1b81378ab0be0c5b2f91a446 (patch)
tree50519c8b5f4847e73da0712c3ae801c2a184c434 /build.sh
parenta75c3424a6003f1ccbfbf6f170009ebf7bf18e4e (diff)
Automatically add shared collection.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index c5e78f5..0041c6f 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:shared=../src -o:speed $@
+ odin test ../tests -collection:src=../src -o:speed $@
if ([ $? -ne 0 ])
then
@@ -41,7 +41,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:shared=../src -test-name:$@
+ odin test ../tests -collection:src=../src -test-name:$@
shift
@@ -61,7 +61,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:shared=../src $@
+ odin test ../tests -collection:src=../src $@
if ([ $? -ne 0 ])
then
@@ -75,9 +75,9 @@ if [[ $1 == "debug" ]]
then
shift
- odin build src/ -collection:shared=src -out:ols -use-separate-modules -debug $@
+ odin build src/ -collection:src=src -out:ols -use-separate-modules -debug $@
exit 0
fi
-odin build src/ -collection:shared=src -out:ols -o:speed $@
+odin build src/ -collection:src=src -out:ols -o:speed $@