Added dmg target and upload it.
This commit is contained in:
parent
7c79b8948f
commit
c598acc06c
@ -4,7 +4,7 @@ mkdir rssguard-build && cd rssguard-build
|
|||||||
qmake ..
|
qmake ..
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
make zip
|
make dmg
|
||||||
|
|
||||||
ls -lha
|
ls -lha
|
||||||
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
||||||
@ -18,7 +18,7 @@ git config --global user.email "rotter.martinos@gmail.com"
|
|||||||
git config --global user.name "martinrotter"
|
git config --global user.name "martinrotter"
|
||||||
git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
||||||
|
|
||||||
set -- *.zip
|
set -- *.dmg
|
||||||
dmgname="$1"
|
dmgname="$1"
|
||||||
dmgnamenospace="${dmgname// /-}"
|
dmgnamenospace="${dmgname// /-}"
|
||||||
echo "DMGNAME IS: $dmgname"
|
echo "DMGNAME IS: $dmgname"
|
||||||
|
@ -613,7 +613,11 @@ mac {
|
|||||||
zip.depends = install
|
zip.depends = install
|
||||||
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
|
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += seven_zip zip
|
dmg.target = dmg
|
||||||
|
dmg.depends = install
|
||||||
|
dmg.commands = macdeployqt $$shell_quote($$shell_path($$PREFIX)) -dmg
|
||||||
|
|
||||||
|
QMAKE_EXTRA_TARGETS += seven_zip zip dmg
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create NSIS installer target on Windows.
|
# Create NSIS installer target on Windows.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user