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() ...@@ -118,8 +118,8 @@ clean()
buildMobileVLCKit() buildMobileVLCKit()
{ {
log "Info" "Staring MobileVLCKit build..." log "Info" "Starting MobileVLCKit build..."
if ! $BUILD_MOBILEVLCKIT; then if ! $BUILD_MOBILEVLCKIT "$1"; then
log "Error" "MobileVLCKit build failed" log "Error" "MobileVLCKit build failed"
rm -fr "build/" rm -fr "build/"
exit 1 exit 1
...@@ -142,6 +142,8 @@ renamePackage() ...@@ -142,6 +142,8 @@ renamePackage()
TARGET="MobileVLCKit" TARGET="MobileVLCKit"
elif [ "$1" = "-t" ]; then elif [ "$1" = "-t" ]; then
TARGET="TVVLCKit" TARGET="TVVLCKit"
elif [ "$1" = "-x" ]; then
TARGET="VLCKit"
fi fi
getVLCHashes getVLCHashes
...@@ -313,7 +315,7 @@ fi ...@@ -313,7 +315,7 @@ fi
UPLOAD_URL=${STABLE_UPLOAD_URL} UPLOAD_URL=${STABLE_UPLOAD_URL}
spushd "$ROOT_DIR" spushd "$ROOT_DIR"
buildMobileVLCKit buildMobileVLCKit $options
setCurrentPodspec setCurrentPodspec
packageBuild $options packageBuild $options
renamePackage $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