Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add clean_externals script
  • Loading branch information
phatblat committed Apr 11, 2016
commit fbc6bb0c42c3f35725fbe98db4e537e22c9a3aed
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[@]}"