Skip to content

Commit

Permalink
make changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Dec 3, 2018
1 parent 5d52ec1 commit 8f2247d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pipeline:
- make clean
- make generate
- make vet
- make revive
- make lint
- make fmt-check
- make swagger-check
- make swagger-validate
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ errcheck:
fi
errcheck $(PACKAGES)

.PHONY: revive
revive:
.PHONY: lint
lint:
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u github.com/mgechev/revive; \
fi
revive -config config.toml -exclude=./vendor/... ./... || exit 1
revive -config .revive.toml -exclude=./vendor/... ./... || exit 1

.PHONY: misspell-check
misspell-check:
Expand Down

0 comments on commit 8f2247d

Please sign in to comment.