Skip to content

Commit

Permalink
Correctly report build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Schwenk committed Apr 3, 2019
1 parent 7e55761 commit 06979e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions building/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
qmake -qt=qt5 -project -v
qmake -qt=qt5 midieditor.pro
make
status=$?
if [ $status -eq 0 ]; then
echo "build was successful"
else
echo "build failed"
exit 1
fi
7 changes: 7 additions & 0 deletions building/build-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@ mkdir .build
cd .build

$MXE/usr/i686-w64-mingw32.static/qt5/bin/qmake ../../ && make
status=$?
if [ $status -eq 0 ]; then
echo "build was successful"
else
echo "build failed"
exit 1
fi

cd ../../

0 comments on commit 06979e5

Please sign in to comment.