Merge pull request #80 from EleanorNB/patch-1
Don't attempt to run executable if compilation fails
This commit is contained in:
commit
95d8b853db
|
@ -2,5 +2,5 @@
|
|||
|
||||
cd /tmp/$1
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue