rssguard/resources/scripts/.travis-install-osx.sh

34 lines
835 B
Bash
Raw Normal View History

2016-08-24 12:30:11 +02:00
#!/bin/sh
mkdir rssguard-build && cd rssguard-build
qmake ..
make
make install
2017-06-29 06:41:49 +02:00
make dmg
2016-08-26 06:31:05 +02:00
2016-08-24 12:51:12 +02:00
ls -lha
2017-06-27 06:30:22 +02:00
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
2016-09-23 07:17:20 +02:00
2017-06-27 06:30:22 +02:00
cd "RSS Guard.app"
ls -lha
2017-04-05 07:49:24 +02:00
cd ..
2016-08-26 07:40:21 +02:00
git config --global user.email "rotter.martinos@gmail.com"
git config --global user.name "martinrotter"
2016-08-29 13:07:18 +02:00
git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
2016-09-26 07:47:24 +02:00
2017-06-29 06:41:49 +02:00
set -- *.dmg
2016-09-26 08:06:52 +02:00
dmgname="$1"
2017-06-27 07:09:21 +02:00
dmgnamenospace="${dmgname// /-}"
echo "DMGNAME IS: $dmgname"
echo "DMGNAME NO SPACE IS: $dmgnamenospace"
2016-09-26 07:47:24 +02:00
2017-06-27 07:09:21 +02:00
curl --upload-file "./$dmgname" "https://transfer.sh/$dmgnamenospace" --silent >> ./build-wiki/Mac-OS-X-development-builds.md
2016-08-30 07:49:53 +02:00
echo >> ./build-wiki/Mac-OS-X-development-builds.md
2016-08-29 13:07:18 +02:00
cat ./build-wiki/Mac-OS-X-development-builds.md
2016-08-25 22:31:51 +02:00
2016-08-29 13:07:18 +02:00
cd ./build-wiki
git add *.*
2016-08-25 22:31:51 +02:00
git commit -m "New files."
2016-08-29 13:07:18 +02:00
git push origin master