14 lines
731 B
Bash
Executable file
14 lines
731 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Creating folders
|
|
cd ${PROJECT_DIR} && \
|
|
echo "gta5view build version is ${APPLICATION_VERSION}" && \
|
|
echo "gta5view image name is gta5view-osx_${APPLICATION_VERSION}.dmg" && \
|
|
mkdir -p build && \
|
|
mkdir -p assets && \
|
|
cd build && \
|
|
|
|
/usr/local/opt/qt/bin/qmake ${QMAKE_FLAGS_QT5} DEFINES+=GTA5SYNC_BUILDTYPE_REL "DEFINES+=GTA5SYNC_BUILDCODE=\\\\\\\"GitHub\\\\\\\"" "DEFINES+=GTA5SYNC_APPVER=\\\\\\\"${APPLICATION_VERSION}\\\\\\\"" DEFINES+=GTA5SYNC_TELEMETRY "DEFINES+=GTA5SYNC_TELEMETRY_WEBURL=\\\\\\\"https://dev.syping.de/gta5view-userstats/\\\\\\\"" ../gta5view.pro && \
|
|
make -j 4 && \
|
|
/usr/local/opt/qt/bin/macdeployqt gta5view.app -dmg && \
|
|
cp -Rf gta5view.dmg ../assets/gta5view-osx_${APPLICATION_VERSION}.dmg
|