From 4f5926d54f0e11bce603897e467498d7af4ab5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Wed, 31 Jan 2018 21:42:02 -0800 Subject: [PATCH] dep prune is depracated, drop it dep will now run prune based on the Gopkg.toml settings, add a config for it and drop 'dep prune' from the Makefile --- Gopkg.toml | 3 +++ Makefile | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gopkg.toml b/Gopkg.toml index 7e7c079b7..c414c74ca 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -19,6 +19,9 @@ # name = "github.com/x/y" # version = "2.4.0" +[prune] + go-tests = true + unused-packages = true [[constraint]] branch = "master" diff --git a/Makefile b/Makefile index 6dc904129..f0416f6ba 100644 --- a/Makefile +++ b/Makefile @@ -56,18 +56,15 @@ $(NAME): .build/deps-build-go.ok .build/vendor.ok bindata_assetfs.go $(SOURCES) .build/vendor.ok: .build/deps-build-go.ok Gopkg.lock Gopkg.toml dep ensure - dep prune touch $@ .PHONY: vendor vendor: .build/deps-build-go.ok dep ensure - dep prune .PHONY: vendor-update vendor-update: .build/deps-build-go.ok dep ensure -update - dep prune .PHONY: webpack webpack: .build/artifacts-webpack.ok