Commit 0a4c6782 authored by Felix Paul Kühne's avatar Felix Paul Kühne

package script: fix compilation for tvOS and macOS

parent b9c7a3b8
......@@ -118,8 +118,8 @@ clean()
buildMobileVLCKit()
{
log "Info" "Staring MobileVLCKit build..."
if ! $BUILD_MOBILEVLCKIT; then
log "Info" "Starting MobileVLCKit build..."
if ! $BUILD_MOBILEVLCKIT "$1"; then
log "Error" "MobileVLCKit build failed"
rm -fr "build/"
exit 1
......@@ -142,6 +142,8 @@ renamePackage()
TARGET="MobileVLCKit"
elif [ "$1" = "-t" ]; then
TARGET="TVVLCKit"
elif [ "$1" = "-x" ]; then
TARGET="VLCKit"
fi
getVLCHashes
......@@ -313,7 +315,7 @@ fi
UPLOAD_URL=${STABLE_UPLOAD_URL}
spushd "$ROOT_DIR"
buildMobileVLCKit
buildMobileVLCKit $options
setCurrentPodspec
packageBuild $options
renamePackage $options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment