2018-01-17 22:19:27 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Creating folders
|
|
|
|
cd ${PROJECT_DIR} && \
|
|
|
|
echo "gta5view build version is ${APPLICATION_VERSION}" && \
|
2018-01-18 20:41:58 +01:00
|
|
|
echo "gta5view image name is gta5view-osx_${APPLICATION_VERSION}.dmg" && \
|
2018-01-18 00:31:21 +01:00
|
|
|
mkdir -p build && \
|
|
|
|
mkdir -p assets && \
|
2018-01-17 22:19:27 +01:00
|
|
|
cd build && \
|
|
|
|
|
2018-07-27 02:56:22 +02:00
|
|
|
/usr/local/opt/qt/bin/qmake ${QMAKE_FLAGS_QT5} ${QMAKE_BUILD_TYPE} "DEFINES+=GTA5SYNC_BUILDCODE=\\\\\\\"${PACKAGE_CODE}\\\\\\\"" "DEFINES+=GTA5SYNC_APPVER=\\\\\\\"${APPLICATION_VERSION}\\\\\\\"" "DEFINES+=GTA5SYNC_COMMIT=\\\\\\\"${APPLICATION_COMMIT}\\\\\\\"" DEFINES+=GTA5SYNC_TELEMETRY "DEFINES+=GTA5SYNC_TELEMETRY_WEBURL=\\\\\\\"https://dev.syping.de/gta5view-userstats/\\\\\\\"" ../gta5view.pro && \
|
2018-06-09 21:16:33 +02:00
|
|
|
make depend && \
|
2018-01-17 22:19:27 +01:00
|
|
|
make -j 4 && \
|
|
|
|
/usr/local/opt/qt/bin/macdeployqt gta5view.app -dmg && \
|
2018-01-18 20:41:58 +01:00
|
|
|
cp -Rf gta5view.dmg ../assets/gta5view-osx_${APPLICATION_VERSION}.dmg
|