frostfs-observability/Makefile
Dmitrii Stepanov f326c3ebbe [#2] platform: Add makefile
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-05-29 12:13:52 +03:00

13 lines
No EOL
367 B
Makefile

#!/usr/bin/make -f
SHELL = bash
# Run Unit Test with go test
test:
@go work edit -json | jq -r '.Use[].DiskPath' | xargs -I{} go test {}/... -count=1
# Run linters
lint:
@go work edit -json | jq -r '.Use[].DiskPath' | xargs -I{} golangci-lint --timeout=5m run {}/...
staticcheck:
@@go work edit -json | jq -r '.Use[].DiskPath' | xargs -I{} staticcheck {}/...