Last active
August 29, 2015 14:25
-
-
Save tianon/ec2b2d3e18dff819c6c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hack/.vendor-helpers.sh b/hack/.vendor-helpers.sh | |
index 1d4674b..54ce6bb 100755 | |
--- a/hack/.vendor-helpers.sh | |
+++ b/hack/.vendor-helpers.sh | |
@@ -98,7 +98,10 @@ clean() { | |
unset IFS | |
echo -n 'pruning unused packages, ' | |
- findArgs=() | |
+ findArgs=( | |
+ # this directory contains only .c and .h which are necessary | |
+ -path vendor/src/github.com/mattn/go-sqlite3/code | |
+ ) | |
for import in "${imports[@]}"; do | |
[ "${#findArgs[@]}" -eq 0 ] || findArgs+=( -or ) | |
findArgs+=( -path "vendor/src/$import" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment