mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(travis): check if .dmg is actually built
This commit is contained in:
parent
5528b0b590
commit
a3532e4212
|
@ -20,7 +20,25 @@
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
|
||||||
# Build OSX
|
# Build OSX
|
||||||
|
build() {
|
||||||
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i
|
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i
|
||||||
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -b
|
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -b
|
||||||
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -d
|
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -d
|
||||||
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -dmg
|
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -dmg
|
||||||
|
}
|
||||||
|
|
||||||
|
# check if binary was built
|
||||||
|
check() {
|
||||||
|
local BIN_NAME="qTox.dmg"
|
||||||
|
if [[ ! -s "$BIN_NAME" ]]
|
||||||
|
then
|
||||||
|
echo "There's no $BIN_NAME !"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
main() {
|
||||||
|
build
|
||||||
|
check
|
||||||
|
}
|
||||||
|
main
|
||||||
|
|
Loading…
Reference in New Issue
Block a user