Skip to content

Commit fd18f5b

Browse files
author
Matthew Fisher
committed
fix(makefile): expand paths for golint
golint requires the full path to source files. It cannot handle directories as arguments.
1 parent ead1fcd commit fd18f5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ setup-gotools:
2323
go get -v github.com/golang/lint/golint
2424

2525
test-style:
26-
go vet -x ./...
27-
-golint *.go client/ cmd/ config/ constant/ hooks/ lock/ systemd/ units/ update/ utils/
26+
go vet ./...
27+
-golint *.go client/*.go cmd/*.go config/*.go constant/*.go lock/*.go update/*.go utils/*.go
2828

2929
test: test-style
3030
godep go test -v -cover ./...

0 commit comments

Comments
 (0)