Added golangci linting and improved what was required

This commit is contained in:
Nicholas Thompson
2019-03-07 19:04:15 +02:00
committed by ncthompson
parent 206159cdea
commit 2456f45836
15 changed files with 244 additions and 255 deletions

View File

@@ -29,8 +29,7 @@
.PHONY: test install gofmt docker statik
build:
go build ./cmd/invertergui/
go build ./cmd/invertercli/
go build ./cmd/...
all: build gofmt test
@@ -51,3 +50,6 @@ docker:
statik:
statik -p=frontend -src=./frontend/root
lint:
golangci-lint run