mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Inline release script into compileOSX
This commit is contained in:
parent
f04bb93a42
commit
8b923aeb18
@ -35,7 +35,34 @@ cp -R YACReader/YACReader.app YACReader.app
|
|||||||
cp -R YACReaderLibrary/YACReaderLibrary.app YACReaderLibrary.app
|
cp -R YACReaderLibrary/YACReaderLibrary.app YACReaderLibrary.app
|
||||||
cp -R YACReaderLibraryServer/YACReaderLibraryServer.app YACReaderLibraryServer.app
|
cp -R YACReaderLibraryServer/YACReaderLibraryServer.app YACReaderLibraryServer.app
|
||||||
|
|
||||||
./releaseOSX.sh
|
hash macdeployqt 2>/dev/null || { echo >&2 "macdeployqt command not available. Please add the bin subfolder of your Qt installation to the PATH environment variable."; exit 1; }
|
||||||
|
|
||||||
|
echo "Preparing apps for release ..."
|
||||||
|
|
||||||
|
macdeployqt YACReader.app
|
||||||
|
macdeployqt YACReaderLibrary.app -qmldir=YACReaderLibrary/qml
|
||||||
|
macdeployqt YACReaderLibraryServer.app
|
||||||
|
|
||||||
|
mkdir -p YACReader.app/Contents/MacOS/utils
|
||||||
|
mkdir -p YACReaderLibrary.app/Contents/MacOS/utils
|
||||||
|
mkdir -p YACReaderLibraryServer.app/Contents/MacOS/utils
|
||||||
|
|
||||||
|
cp dependencies/qrencode/macx/libqrencode.4.0.0.dylib \
|
||||||
|
YACReaderLibrary.app/Contents/MacOS/utils/libqrencode.dylib
|
||||||
|
|
||||||
|
cp -R dependencies/7zip/macx/* YACReader.app/Contents/MacOS/utils/
|
||||||
|
cp -R dependencies/7zip/macx/* YACReaderLibrary.app/Contents/MacOS/utils/
|
||||||
|
cp -R dependencies/7zip/macx/* YACReaderLibraryServer.app/Contents/MacOS/utils/
|
||||||
|
|
||||||
|
cp -R release/server YACReaderLibrary.app/Contents/MacOS/
|
||||||
|
cp -R release/server YACReaderLibraryServer.app/Contents/MacOS/
|
||||||
|
cp -R release/languages YACReader.app/Contents/MacOS/
|
||||||
|
cp -R release/languages YACReaderLibrary.app/Contents/MacOS/
|
||||||
|
cp -R release/languages YACReaderLibraryServer.app/Contents/MacOS/
|
||||||
|
|
||||||
|
./signapps.sh
|
||||||
|
|
||||||
|
echo "Preparing apps for release, Done."
|
||||||
|
|
||||||
echo "Copying to destination folder"
|
echo "Copying to destination folder"
|
||||||
dest="YACReader-$VERSION.$BUILD_NUMBER MacOSX-Intel"
|
dest="YACReader-$VERSION.$BUILD_NUMBER MacOSX-Intel"
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
hash macdeployqt 2>/dev/null || { echo >&2 "macdeployqt command not available. Please add the bin subfolder of your Qt installation to the PATH environment variable."; exit 1; }
|
|
||||||
|
|
||||||
echo "Preparing apps for release ..."
|
|
||||||
|
|
||||||
macdeployqt YACReader.app
|
|
||||||
macdeployqt YACReaderLibrary.app -qmldir=YACReaderLibrary/qml
|
|
||||||
macdeployqt YACReaderLibraryServer.app
|
|
||||||
|
|
||||||
mkdir -p YACReader.app/Contents/MacOS/utils
|
|
||||||
mkdir -p YACReaderLibrary.app/Contents/MacOS/utils
|
|
||||||
mkdir -p YACReaderLibraryServer.app/Contents/MacOS/utils
|
|
||||||
|
|
||||||
cp dependencies/qrencode/macx/libqrencode.4.0.0.dylib \
|
|
||||||
YACReaderLibrary.app/Contents/MacOS/utils/libqrencode.dylib
|
|
||||||
|
|
||||||
cp -R dependencies/7zip/macx/* YACReader.app/Contents/MacOS/utils/
|
|
||||||
cp -R dependencies/7zip/macx/* YACReaderLibrary.app/Contents/MacOS/utils/
|
|
||||||
cp -R dependencies/7zip/macx/* YACReaderLibraryServer.app/Contents/MacOS/utils/
|
|
||||||
|
|
||||||
cp -R release/server YACReaderLibrary.app/Contents/MacOS/
|
|
||||||
cp -R release/server YACReaderLibraryServer.app/Contents/MacOS/
|
|
||||||
cp -R release/languages YACReader.app/Contents/MacOS/
|
|
||||||
cp -R release/languages YACReaderLibrary.app/Contents/MacOS/
|
|
||||||
cp -R release/languages YACReaderLibraryServer.app/Contents/MacOS/
|
|
||||||
|
|
||||||
./signapps.sh
|
|
||||||
|
|
||||||
echo "Done."
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user