diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-04-27 12:52:06 +0200 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-04-27 13:05:34 +0200 |
commit | f87f7b4f0aaccc65d03ccee5bb11915ead6fb0e1 (patch) | |
tree | d54df0bfde3dbffa02b1f138af4f12456f261e54 /tests/build.sh | |
parent | 0574f5a7c5159a2ae1d7d2182cec982509947db9 (diff) |
First pass at preparing for Github
Diffstat (limited to 'tests/build.sh')
-rwxr-xr-x | tests/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/build.sh b/tests/build.sh new file mode 100755 index 0000000..2bab03e --- /dev/null +++ b/tests/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +ScriptDir="$(dirname "$(readlink -f "$0")")" +cd "$ScriptDir" +WarningFlags="-Wno-unused-variable" + +printf 'tests.c\n' +gcc -ggdb -Wall $WarningFlags -o tests tests.c +./tests + +# printf 'archived/input_box.c\n' +# gcc -DDEBUG -ggdb -Wall -pedantic -std=c11 -I external -I . -o "$BuildDir"/input_box archived/input_box.c |