From afb149b86605538919374c185982eca8412e81c9 Mon Sep 17 00:00:00 2001 From: Christian Fetzer Date: Tue, 8 Mar 2016 22:19:57 +0100 Subject: [cmake/osx] OSX packaging --- tools/buildsteps/osx64/package | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tools/buildsteps/osx64') 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 -- cgit v1.2.3