new structure
This commit is contained in:
parent
a86003a1a9
commit
519a6aeaf1
|
@ -0,0 +1,17 @@
|
|||
all: test fmt build
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
vet:
|
||||
go vet ./...
|
||||
|
||||
fmt:
|
||||
go list -f '{{.Dir}}' ./... | grep -v /vendor/ | xargs -L1 gofmt -l
|
||||
test -z $$(go list -f '{{.Dir}}' ./... | grep -v /vendor/ | xargs -L1 gofmt -l)
|
||||
|
||||
lint:
|
||||
go list ./... | grep -v /vendor/ | xargs -L1 golint -set_exit_status
|
||||
|
||||
build:
|
||||
go build -o bin/flokati ./cmd/flokati
|
|
@ -1,6 +1,6 @@
|
|||
// vi:ts=4:sts=4:sw=4:noet:tw=72
|
||||
//
|
||||
// flokatimx
|
||||
// flokati
|
||||
//
|
||||
// Copyright (c) 2015-2019 Andreas Neue <an@dnix.de>
|
||||
|
Loading…
Reference in New Issue