Chore: explore possibilities of using makefile (#17039)

* Chore: explore possibilities of using makefile

This is an exploratory commit - I wanted to see how
revive/gosec linters could be integrated with makefile and our build scripts.

Looks better then I expected :)

* Chore: make revive happy

Revive execution was not supplied with path, if you restore there is couple
errors that were popping up - so I fixed them

* Chore: make revive happy
This commit is contained in:
Oleg Gaidarenko
2019-05-16 00:29:26 +03:00
committed by GitHub
parent 8483a8366f
commit be66ed9dab
13 changed files with 119 additions and 37 deletions
+8
View File
@@ -0,0 +1,8 @@
module github.com/grafana/grafana/scripts/go
go 1.12
require (
github.com/mgechev/revive v0.0.0-20190505013521-22b849f28677 // indirect
github.com/securego/gosec v0.0.0-20190510081509-ee80733faf72 // indirect
)