Files
goreportcard/vendor/github.com/prometheus/procfs/Makefile
Shawn Smith 6acb1d20cc Revert "add modules, remove vendor dir"
This reverts commit 436d84b0bc.
2019-09-09 17:37:43 +09:00

19 lines
298 B
Makefile

ci: fmt lint test
fmt:
! gofmt -l *.go | read nothing
go vet
lint:
go get github.com/golang/lint/golint
golint *.go
test: sysfs/fixtures/.unpacked
go test -v ./...
sysfs/fixtures/.unpacked: sysfs/fixtures.ttar
./ttar -C sysfs -x -f sysfs/fixtures.ttar
touch $@
.PHONY: fmt lint test ci