From 0869bb96f8aa6e3d49c65b8896b1c32cda87080e Mon Sep 17 00:00:00 2001 From: sroth Date: Tue, 30 Sep 2025 00:28:27 +0200 Subject: [PATCH] have compile exit if a command fails --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compile.sh b/compile.sh index cc62272..4c74a36 100755 --- a/compile.sh +++ b/compile.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +set -e + if [ "$VIRTUAL_ENV" == "" ] then source venv/bin/activate