2022-01-20 13:22:01 +00:00
|
|
|
BIN = $(GOPATH)/bin
|
|
|
|
BASE = $(GOPATH)/src/$(PACKAGE)
|
|
|
|
PKGS = go list ./... | grep -v "^vendor/"
|
|
|
|
|
|
|
|
# Tools
|
|
|
|
## Testing library
|
|
|
|
GINKGO = $(BIN)/ginkgo
|
|
|
|
$(BIN)/ginkgo:
|
2022-03-02 23:09:01 +00:00
|
|
|
go install github.com/onsi/ginkgo/ginkgo
|
2022-01-20 13:22:01 +00:00
|
|
|
|
|
|
|
.PHONY: integrationtest
|
|
|
|
integrationtest: | $(GINKGO) $(GOOSE)
|
|
|
|
go vet ./...
|
|
|
|
go fmt ./...
|
|
|
|
$(GINKGO) -r test/ -v
|
|
|
|
|
|
|
|
.PHONY: integrationtest_local
|
|
|
|
integrationtest_local: | $(GINKGO) $(GOOSE)
|
|
|
|
go vet ./...
|
|
|
|
go fmt ./...
|
|
|
|
./scripts/run_integration_test.sh
|