Browse Source

deployVLCKit: Add error on simultaneous mobile and tv build

Signed-off-by: Carola Nitz <nitz.carola@googlemail.com>
(cherry picked from commit 1e1237c3ec8e8843d41c63a63bae969a495225d0)
Soomin Lee 7 years ago
parent
commit
fd6111c906
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Packaging/buildAndDeployFrameworks.sh

+ 6 - 0
Packaging/buildAndDeployFrameworks.sh

@@ -292,6 +292,12 @@ podOperations()
 # Command Center #
 ##################
 
+# Currently, mobile and tv cannot be deployed at the same time.
+if [ "$DEPLOY_MOBILEVLCKIT" = "yes" ] && [ "$DEPLOY_TVVLCKIT" = "yes" ]; then
+    log "Error" "Cannot depoy MobileVLCKit and TVVLCKit at the same time!"
+    exit 1
+fi
+
 if [ "$CLEAN" = "yes" ]; then
     clean
 fi