1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/Makefile
Minko Gechev f966283f3e
Fix rule for documentation of exported types (#29)
* Fix rule for documentation of exported types

The rule was failing in the following case:

```go
// A is an awesome type
type A = int
```

Because revive was skipping the leading `A`, considering it as an article.

* Add "This" article and update Makefile
2018-07-08 08:14:15 +10:00

15 lines
159 B
Makefile

.PHONY: test
deps.devtools:
@go get github.com/golang/dep/cmd/dep
install: deps.devtools
@dep ensure -v
build:
@go build
test:
@go test -v ./test/...