mirror of https://github.com/EspoTek/Labrador.git
make_deb and make_appimage bail on error
This commit is contained in:
parent
a4471c6ee6
commit
132240fcc3
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue