Skip to content
Open
Show file tree
Hide file tree
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
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,26 @@ all:
test: all
go run build/ci.go test

#? quick-test: Run the tests except time-consuming tests.
#? quick-test: Run the tests except time-consuming packages.
quick-test: all
go run build/ci.go test --quick

#? lint: Run certain pre-selected linters.
lint: ## Run linters.
$(GORUN) build/ci.go lint

#? tidy: Verify go.mod and go.sum by 'go mod tidy'
#? tidy: Verify go.mod and go.sum are updated.
tidy: ## Run 'go mod tidy'.
$(GORUN) build/ci.go tidy

#? generate: Verify everything is 'go generate'-ed
#? generate: Verify everything is 'go generate'.
generate: ## Run 'go generate ./...'.
$(GORUN) build/ci.go generate

#? baddeps: Verify certain dependencies are avoided.
baddeps:
$(GORUN) build/ci.go baddeps

#? fmt: Ensure consistent code formatting.
fmt:
gofmt -s -w $(shell find . -name "*.go")
Expand Down
Loading