Fix import path to be non-vendored in Makefile

This commit is contained in:
Alex Dadgar 2016-02-20 18:59:55 -08:00
parent 8f513deb66
commit d6f28ebcb4
1 changed files with 2 additions and 0 deletions

View File

@ -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 \