Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLCKit
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TienHoaBgg
VLCKit
Commits
b9c7a3b8
Commit
b9c7a3b8
authored
6 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
build and deploy: add support for macOS
parent
d714103c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Packaging/buildAndDeployFrameworks.sh
+11
-1
11 additions, 1 deletion
Packaging/buildAndDeployFrameworks.sh
with
11 additions
and
1 deletion
Packaging/buildAndDeployFrameworks.sh
+
11
−
1
View file @
b9c7a3b8
...
...
@@ -5,6 +5,7 @@ set -e
CLEAN
=
yes
DEPLOY_MOBILEVLCKIT
=
no
DEPLOY_TVVLCKIT
=
no
DEPLOY_MACOSVLCKIT
=
no
TEST_MODE
=
no
BUILD_MOBILEVLCKIT
=
"./buildMobileVLCKit.sh -vf"
...
...
@@ -12,6 +13,7 @@ CREATE_DISTRIBUTION_PACKAGE="./create-distributable-package.sh"
STABLE_UPLOAD_URL
=
"https://download.videolan.org/cocoapods/unstable/"
MOBILE_PODSPEC
=
"MobileVLCKit-unstable.podspec"
TV_PODSPEC
=
"TVVLCKit-unstable.podspec"
MACOS_PODSPEC
=
"VLCKit.podspec"
# Note: create-distributable-package script is building VLCKit(s) if not found.
# Note: by default, VLCKit will be build if no option is passed.
...
...
@@ -25,11 +27,12 @@ OPTIONS
-d Disable cleaning of build directory
-m Deploy MobileVLCKit
-t Deploy TVVLCKit
-x Deploy VLCKit for macOS
-l Start test for build phases
EOF
}
while
getopts
"hdmtl"
OPTION
while
getopts
"hdmtl
x
"
OPTION
do
case
$OPTION
in
h
)
...
...
@@ -45,6 +48,9 @@ do
t
)
DEPLOY_TVVLCKIT
=
yes
;;
x
)
DEPLOY_MACOSVLCKIT
=
yes
;;
l
)
TEST_MODE
=
yes
;;
...
...
@@ -264,6 +270,8 @@ setCurrentPodspec()
CURRENT_PODSPEC
=
$MOBILE_PODSPEC
elif
[
"
$DEPLOY_TVVLCKIT
"
=
"yes"
]
;
then
CURRENT_PODSPEC
=
$TV_PODSPEC
elif
[
"DEPLOY_MACOSVLCKIT"
=
"yes"
]
;
then
CURRENT_PODSPEC
=
$MACOS_PODSPEC
fi
}
...
...
@@ -298,6 +306,8 @@ if [ "$DEPLOY_MOBILEVLCKIT" = "yes" ]; then
options
=
"-m"
elif
[
"
$DEPLOY_TVVLCKIT
"
=
"yes"
]
;
then
options
=
"-t"
elif
[
"
$DEPLOY_MACOSVLCKIT
"
=
"yes"
]
;
then
options
=
"-x"
fi
UPLOAD_URL
=
${
STABLE_UPLOAD_URL
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment