diff options
| author | iamcheeseman <[email protected]> | 2026-04-06 17:04:05 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-04-06 17:06:53 -0400 |
| commit | 957c64c7b8b5e98d8a03dd84c7e27e7991fb9dbc (patch) | |
| tree | f5fc230703791cee8d8e7851fb87eaef07ae63a2 /run.sh | |
Initial commit
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#! /bin/bash + +# This script could be replaced by -run on TCC, but support for other compilers +# should be at least somewhat maintained. + +./build.sh $@ && + +if [[ "${@: -1}" == "gdb" ]]; then + gdb ./uengine +elif [[ "${@: -1}" == "valgrind" ]]; then + valgrind --leak-check=full ./uengine +else + time ./uengine +fi |
