Skip to content

Commit ba4d595

Browse files
committed
Merge pull request #572 from phatblat/ben/clean-externals
Add clean_externals script
2 parents 71907ef + fbc6bb0 commit ba4d595

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

script/clean_externals

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash -ex
2+
3+
#
4+
# clean_externals
5+
# ObjectiveGit
6+
#
7+
# Removes the outputs from the various static library targets.
8+
# Necessary when switching platforms/architectures as Xcode does not clean
9+
# these for you.
10+
#
11+
12+
# A list of external static libraries included in the SwiftGit2 framework
13+
libraries=(
14+
External/libgit2.a
15+
External/libgit2-ios/libgit2-ios.a
16+
External/libssh2-ios/lib/libssh2-ios.a
17+
External/ios-openssl/lib/libssl.a
18+
External/ios-openssl/lib/libcrypto.a
19+
External/ios-openssl/include
20+
)
21+
22+
rm -vrf "${libraries[@]}"

0 commit comments

Comments
 (0)