enable dep pruning and gitignore macOS DS_Store

This commit is contained in:
Benjamin Elder
2018-10-24 17:15:07 -07:00
parent 18a2321ddd
commit 41845522f6
2 changed files with 8 additions and 0 deletions

3
.gitignore vendored
View File

@@ -14,3 +14,6 @@ kustomize
# We use sed -i.bak when doing in-line replace, because it works better cross-platform
.bak
# macOS
*.DS_store

View File

@@ -20,6 +20,11 @@
# name = "github.com/x/y"
# version = "2.4.0"
# prune out unused content from vendor
[prune]
go-tests = true
non-go = true
unused-packages = true
[[constraint]]
name = "github.com/evanphx/json-patch"