aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/osx64
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@gmail.com>2016-03-08 22:19:57 +0100
committerChristian Fetzer <fetzer.ch@gmail.com>2016-05-04 07:47:07 +0200
commitafb149b86605538919374c185982eca8412e81c9 (patch)
tree937ea203e28066da30fc653496d1346fde13d2a7 /tools/buildsteps/osx64
parent468d051544c9194c600746e04b96a9d16d885d68 (diff)
[cmake/osx] OSX packaging
Diffstat (limited to 'tools/buildsteps/osx64')
-rwxr-xr-xtools/buildsteps/osx64/package11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/buildsteps/osx64/package b/tools/buildsteps/osx64/package
index 8464f0eb94..cc2b1018e0 100755
--- a/tools/buildsteps/osx64/package
+++ b/tools/buildsteps/osx64/package
@@ -4,12 +4,13 @@ XBMC_PLATFORM_DIR=osx64
# Temporarily disabled because packaging not implement for CMake
if [ "$CMAKE_BUILD" = true ]; then
- exit 0
+ cd $WORKSPACE/build;make -j$BUILDTHREADS dmg
+ cd $WORKSPACE/build/tools/darwin/packaging/osx/
+else
+ cd $WORKSPACE/tools/darwin/packaging/osx/; sh ./mkdmg-osx.sh $Configuration
fi
-cd $WORKSPACE/tools/darwin/packaging/osx/; sh ./mkdmg-osx.sh $Configuration
-
#rename for upload
-#e.x. kodi-20130314-8c2fb31-Frodo-x86_64.dmg
+#e.x. kodi-20130314-8c2fb31-Frodo-x86_64.dmg
UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-x86_64.dmg"
-mv *.dmg $UPLOAD_FILENAME
+mv *.dmg $WORKSPACE/tools/darwin/packaging/osx/$UPLOAD_FILENAME