Skip to content

Commit

Permalink
Merge pull request #572 from phatblat/ben/clean-externals
Browse files Browse the repository at this point in the history
Add clean_externals script
  • Loading branch information
pietbrauer committed Apr 12, 2016
2 parents 71907ef + fbc6bb0 commit ba4d595
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions script/clean_externals
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash -ex

#
# clean_externals
# ObjectiveGit
#
# Removes the outputs from the various static library targets.
# Necessary when switching platforms/architectures as Xcode does not clean
# these for you.
#

# A list of external static libraries included in the SwiftGit2 framework
libraries=(
External/libgit2.a
External/libgit2-ios/libgit2-ios.a
External/libssh2-ios/lib/libssh2-ios.a
External/ios-openssl/lib/libssl.a
External/ios-openssl/lib/libcrypto.a
External/ios-openssl/include
)

rm -vrf "${libraries[@]}"

0 comments on commit ba4d595

Please sign in to comment.