ipld-eth-db-validator/Makefile
prathamesh0 cc935dc97b
Add checks to validate referential integrity in the data (#7)
* Add checks to validate referential integrity

* Add unit tests for referential integrity validation

* Use EXISTS in referential integrity validation queries
2022-06-01 11:29:53 +05:30

26 lines
480 B
Makefile

BIN = $(GOPATH)/bin
BASE = $(GOPATH)/src/$(PACKAGE)
PKGS = go list ./... | grep -v "^vendor/"
# Tools
## Testing library
GINKGO = $(BIN)/ginkgo
$(BIN)/ginkgo:
go install github.com/onsi/ginkgo/ginkgo
.PHONY: integrationtest
integrationtest: | $(GINKGO) $(GOOSE)
go vet ./...
go fmt ./...
$(GINKGO) -r test/ -v
.PHONY: test
test: | $(GINKGO) $(GOOSE)
go vet ./...
go fmt ./...
$(GINKGO) -r pkg/validator/ validator_test/ -v
build:
go fmt ./...
GO111MODULE=on go build