mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
Move to makefile, do initial excludes
This commit is contained in:
committed by
Calle Pettersson
parent
76ddad34b8
commit
7e05621b26
6
Makefile
6
Makefile
@@ -1,5 +1,11 @@
|
||||
export GOOS=windows
|
||||
|
||||
lint:
|
||||
gometalinter --vendor --config gometalinter.config ./...
|
||||
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
build:
|
||||
promu build -v
|
||||
|
||||
|
||||
@@ -1 +1,11 @@
|
||||
{}
|
||||
{
|
||||
"Disable": [
|
||||
"gocyclo",
|
||||
"maligned",
|
||||
"megacheck"
|
||||
],
|
||||
"Exclude": [
|
||||
"don't use underscores in Go names",
|
||||
"exported type .+ should have comment or be unexported"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user