aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/procfs/Makefile
blob: dd48afdcd4570255c3043d5d8c14cfd3e1497e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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