Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: mockgen test lint e2e-test
.PHONY: mockgen test lint e2e-test docs
mockgen:
go install go.uber.org/mock/mockgen@latest
mockgen -source=openfeature/provider.go -destination=openfeature/provider_mock.go -package=openfeature
Expand All @@ -10,7 +10,9 @@ mockgen:
test:
go test --short -tags testtools -cover ./...
e2e-test:
git submodule update --init --recursive && go test -tags testtools -race -cover ./e2e/...
git submodule update --init --recursive && go test -tags testtools -race -cover ./e2e/...
lint:
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1
${GOPATH}/bin/golangci-lint run --build-tags testtools --deadline=3m --timeout=3m ./... # Run linters
docs:
go run golang.org/x/pkgsite/cmd/pkgsite@latest -open .
Loading