blob: 4f549fe974a2cf4a0a12a863c55c90a7f79ba9e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=ios
. $WORKSPACE/tools/buildsteps/defaultenv
cd $WORKSPACE/build;xcodebuild -target deb -jobs $BUILDTHREADS
cd $WORKSPACE/build/tools/darwin/packaging/darwin_embedded/
#rename for upload
#e.x. kodi-20130314-8c2fb31-Frodo-ios.deb
if [ "$DARWIN_ARM_CPU" == "arm64" ]
then
UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-ios64.deb"
else
UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-ios.deb"
fi
mkdir $WORKSPACE/tools/darwin/packaging/ios
mv *.deb $WORKSPACE/tools/darwin/packaging/ios/$UPLOAD_FILENAME
|