Skip to content

Instantly share code, notes, and snippets.

@tianon
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianon/ec2b2d3e18dff819c6c5 to your computer and use it in GitHub Desktop.
Save tianon/ec2b2d3e18dff819c6c5 to your computer and use it in GitHub Desktop.
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