blob: bfa2124eb1ac1266dbcd9f60ad34c68f35094782 (
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.tar.gz
cd sysfs && tar xzf fixtures.tar.gz
touch $@
.PHONY: fmt lint test ci
|