From d6f28ebcb4d915388ffdc1a27e617ca00e9df689 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Sat, 20 Feb 2016 18:59:55 -0800 Subject: [PATCH] Fix import path to be non-vendored in Makefile --- GNUmakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index bee87496a..769a74c02 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -41,6 +41,8 @@ format: generate: @echo "--> Running go generate" @go generate $(PACKAGES) + @sed -e 's|github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec|github.com/ugorji/go/codec|' nomad/structs/structs.generated.go >> structs.gen.tmp + @mv structs.gen.tmp nomad/structs/structs.generated.go vet: @go tool vet 2>/dev/null ; if [ $$? -eq 3 ]; then \