new structure

This commit is contained in:
Andreas Neue 2023-06-13 10:24:01 +02:00
parent a86003a1a9
commit 519a6aeaf1
5 changed files with 18 additions and 1 deletions

17
Makefile Normal file
View File

@ -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

View File

@ -1,6 +1,6 @@
// vi:ts=4:sts=4:sw=4:noet:tw=72 // vi:ts=4:sts=4:sw=4:noet:tw=72
// //
// flokatimx // flokati
// //
// Copyright (c) 2015-2019 Andreas Neue <an@dnix.de> // Copyright (c) 2015-2019 Andreas Neue <an@dnix.de>