From ae2b8cf87e76f607d4912c204e682e7bfe0e6a53 Mon Sep 17 00:00:00 2001 From: Snarling <84951833+Snarling@users.noreply.github.com> Date: Tue, 25 Apr 2023 09:12:17 -0400 Subject: [PATCH] Fix build test passing on failed builds --- tools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build.sh b/tools/build.sh index 16104923f..3bb3859bc 100644 --- a/tools/build.sh +++ b/tools/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -# builds the game in the root folder -webpack --mode $1 +# builds the game in the root folder, exit on failure +webpack --mode $1 || exit 1 # Clear out any files remaining from old builds and recreate folder rm -rf .app