From 0eeb9b2ca3eca7f9b3c85321e6665984e69579c8 Mon Sep 17 00:00:00 2001 From: Billy Schoenberg Date: Thu, 26 Jul 2018 09:49:31 -0400 Subject: [PATCH] Setup mac deploy script --- .gitignore | 2 ++ installers/deploy_mac.sh | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100755 installers/deploy_mac.sh diff --git a/.gitignore b/.gitignore index ac8a9e7..e297d90 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ ipch/ *.suo *.opensdf *.pyc +installers/out/ +installers/out/* third_party/include/ third_party/include/* third_party/mac/* diff --git a/installers/deploy_mac.sh b/installers/deploy_mac.sh new file mode 100755 index 0000000..93aad1b --- /dev/null +++ b/installers/deploy_mac.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +export QTDIR="$HOME/Qt5.11.0/5.11.0/clang_64" + +mkdir -p "$PWD/out/Release" +rm -rf "$/out/Release/XMUtil.app" +cp -rf "$PWD/../DerivedData/XMUtil/Build/Products/Release/XMUtil.app" "$PWD/out/Release/XMUtil.app" + +$QTDIR/bin/macdeployqt "$PWD/out/Release/XMUtil.app"