Merge pull request #80 from EleanorNB/patch-1

Don't attempt to run executable if compilation fails
This commit is contained in:
Brian Seymour 2021-02-10 13:38:50 -06:00 committed by GitHub
commit 95d8b853db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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