Skip to content

Commit dfd6f72

Browse files
committed
zip build
1 parent 3b2f4df commit dfd6f72

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ after_success:
1515
- ./build.sh
1616

1717
deploy:
18+
skip_cleanup: true
1819
provider: script
1920
script: ./Tools/push.sh
2021
on:

build.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ main() {
113113
build_ios_dylib
114114
# build_tvos_dylib
115115

116+
zip_ios_dylib
117+
116118
echo "${GREEN} Done.${NORMAL}"
117119
}
118120

@@ -206,6 +208,19 @@ build_ios_dylib() {
206208
printf "%s\n" "Successfully built Leanplum-SDK (iOS) Framework.\n"
207209
}
208210

211+
#######################################
212+
# Builds the iOS dynamic library Target.
213+
# Globals:
214+
# None
215+
# Arguments:
216+
# None
217+
# Returns:
218+
# None
219+
#######################################
220+
zip_ios_dylib() {
221+
cd "${RELEASE_DIR}"
222+
zip -r Leanplum.framework.zip Leanplum.framework
223+
}
209224
#######################################
210225
# Builds the dynamic library tvOS target.
211226
# Globals:

0 commit comments

Comments
 (0)