make_deb and make_appimage bail on error

This commit is contained in:
Chris Esposito 2019-08-24 11:30:02 +10:00
parent a4471c6ee6
commit 132240fcc3
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e
qmake APPIMAGE=1 CONFIG+=release PREFIX=/usr DEFINES+=GIT_HASH_SHORT=$(git rev-parse --short HEAD)
make -j$(nproc) CXX=${CXX} CC=${CC} LINK=${CXX}
make INSTALL_ROOT=appdir install ; find appdir/

View File

@ -1,8 +1,10 @@
#!/bin/bash
set -e
qmake DEB=1 CONFIG+=release PREFIX=/usr DEFINES+=GIT_HASH_SHORT=$(git rev-parse --short HEAD)
make -j$(nproc) CXX=${CXX} CC=${CC} LINK=${CXX}
rm -R deb
rm -rf deb
make INSTALL_ROOT=deb install; find deb/
cp -r resources/debian deb/DEBIAN
dpkg-deb --build deb