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