-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 750 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
devsetup:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5
go install github.com/vektra/mockery/v2@v2.52.2
test:
go test ./...
fasttest:
go test -short ./...
cover:
go test -coverprofile=cover.out ./...
lint:
golangci-lint run -v
check: lint
go test -cover -race ./...
bench:
go test -run ^$$ -bench . --disable-logger
updatemocks:
mockery --name dispatcher --output . --testonly --inpackage
mockery --name configManager --output . --testonly --inpackage
mockery --name httpComponentInterface --output . --testonly --inpackage
mockery --name telemetryStore --output . --testonly --inpackage
.PHONY: all test devsetup fasttest lint cover checkerrs checkfmt checkvet checkiea checkspell check bench updatemocks