diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-02-22 20:46:13 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-02-22 20:46:13 +0100 |
| commit | acb232ac94f46d6c1b81378ab0be0c5b2f91a446 (patch) | |
| tree | 50519c8b5f4847e73da0712c3ae801c2a184c434 /build.sh | |
| parent | a75c3424a6003f1ccbfbf6f170009ebf7bf18e4e (diff) | |
Automatically add shared collection.
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 $@ |