瀏覽代碼

gitignore: ignore test files in "vendor"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 年之前
父節點
當前提交
4fc2db7d65
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .gitignore

+ 18 - 0
.gitignore

@@ -20,3 +20,21 @@ hack/scripts-dev/docker-dns/.Dockerfile
 hack/scripts-dev/docker-dns-srv/.Dockerfile
 hack/scripts-dev/docker-dns-srv/.Dockerfile
 hack/tls-setup/certs
 hack/tls-setup/certs
 .idea
 .idea
+
+# TODO: use dep prune
+# https://github.com/golang/dep/issues/120#issuecomment-306518546
+vendor/**/*
+!vendor/**/
+!vendor/**/*.go
+!vendor/**/*.c
+!vendor/**/*.cpp
+!vendor/**/*.s
+!vendor/**/COPYING*
+!vendor/**/PATENTS*
+!vendor/**/NOTICE*
+!vendor/**/Licence*
+!vendor/**/License*
+!vendor/**/LICENCE*
+!vendor/**/LICENSE*
+vendor/**/*_test.go
+