Don't attempt to run executable if compilation fails
It was just ugly.
This commit is contained in:
parent
4d344db148
commit
f8391e9aaf
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
cd /tmp/$1
|
cd /tmp/$1
|
||||||
cp code.code main.zig
|
cp code.code main.zig
|
||||||
timeout -s KILL 10 zig build-exe main.zig
|
timeout -s KILL 10 zig build-exe main.zig && \
|
||||||
timeout -s KILL 3 xargs -a args.args -d '\n' ./main
|
timeout -s KILL 3 xargs -a args.args -d '\n' ./main
|
||||||
|
|
Loading…
Reference in New Issue