lint is a composite target
This commit is contained in:
parent
b138e2b1f8
commit
1d58548136
@ -11,6 +11,6 @@ tasks:
|
|||||||
- test: |
|
- test: |
|
||||||
make -C undocker coverage.html
|
make -C undocker coverage.html
|
||||||
- lint: |
|
- lint: |
|
||||||
make -C undocker lint
|
make -C undocker -j$(nproc) -O lint
|
||||||
artifacts:
|
artifacts:
|
||||||
- undocker/coverage.html
|
- undocker/coverage.html
|
||||||
|
8
Makefile
8
Makefile
@ -9,8 +9,14 @@ test:
|
|||||||
go test -race -cover ./...
|
go test -race -cover ./...
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint: vet staticcheck
|
||||||
|
|
||||||
|
.PHONY: vet
|
||||||
|
vet:
|
||||||
go vet ./...
|
go vet ./...
|
||||||
|
|
||||||
|
.PHONY: staticcheck
|
||||||
|
staticcheck:
|
||||||
$(GOBIN)staticcheck -f stylish ./...
|
$(GOBIN)staticcheck -f stylish ./...
|
||||||
|
|
||||||
.INTERMEDIATE: coverage.out
|
.INTERMEDIATE: coverage.out
|
||||||
|
Loading…
Reference in New Issue
Block a user