14 lines
198 B
Makefile
14 lines
198 B
Makefile
|
#!/usr/bin/make -f
|
||
|
SHELL = bash
|
||
|
|
||
|
# Run Unit Test with go test
|
||
|
test:
|
||
|
@go test ./... -count=1
|
||
|
|
||
|
# Run linters
|
||
|
lint:
|
||
|
@golangci-lint --timeout=5m run
|
||
|
|
||
|
# Run staticcheck
|
||
|
staticcheck:
|
||
|
@staticcheck ./...
|