From 4fc2db7d65f328c97ac8282b8c1b9ad0b196c6a1 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 16 Jan 2018 15:02:51 -0800 Subject: [PATCH] gitignore: ignore test files in "vendor" Signed-off-by: Gyuho Lee --- .gitignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitignore b/.gitignore index 1a68387a7..356b672a7 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,21 @@ hack/scripts-dev/docker-dns/.Dockerfile hack/scripts-dev/docker-dns-srv/.Dockerfile hack/tls-setup/certs .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 +