Skip to content

Commit

Permalink
Stop on first error
Browse files Browse the repository at this point in the history
Continuing to build past the first error makes the actual error hard to find, because it'll be swamped with a lot of other text after the error that is not relevant
  • Loading branch information
vadi2 committed May 9, 2024
1 parent 3394516 commit 3bc08bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CI/build-mudlet-for-windows.sh
Expand Up @@ -161,11 +161,10 @@ echo "Running make to build project ..."
echo ""

# Despite the mingw32 prefix mingw32-make.exe IS the make we want.
# Use -k to "keep going" to build as much as possible this time around:
if [ -n "${NUMBER_OF_PROCESSORS}" ] && [ "${NUMBER_OF_PROCESSORS}" -gt 1 ]; then
mingw32-make -j "${NUMBER_OF_PROCESSORS}" -k
mingw32-make -j "${NUMBER_OF_PROCESSORS}"
else
mingw32-make -k
mingw32-make
fi

echo " ... make finished"
Expand Down

0 comments on commit 3bc08bc

Please sign in to comment.