Add Makefile hack for tests to run

This commit is contained in:
Mitchell Hashimoto 2018-04-19 08:13:57 -07:00
parent cc2c98f961
commit ecb05cc957
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ dev: changelogfmt vendorfmt dev-build
dev-build:
@echo "--> TEMPORARY HACK: installing hashstructure to make CI pass until we vendor it upstream"
go get github.com/mitchellh/hashstructure
go get github.com/stretchr/testify/mock
@echo "--> Building consul"
mkdir -p pkg/$(GOOS)_$(GOARCH)/ bin/
go install -ldflags '$(GOLDFLAGS)' -tags '$(GOTAGS)'