коммит произвёл
GitHub
родитель
42e75fad4d
Коммит
eaa6113cb4
5
Makefile
5
Makefile
@@ -618,10 +618,7 @@ update-dependencies: ## Uses go get -u to update all the dependencies while hold
|
||||
$(GO) mod tidy
|
||||
|
||||
vet: ## Run mattermost go vet specific checks
|
||||
@if ! [ -x "$$(command -v $(GOBIN)/mattermost-govet)" ]; then \
|
||||
echo "mattermost-govet is not installed. Please install it executing \"GO111MODULE=off GOBIN=$(PWD)/bin go get -u github.com/mattermost/mattermost-govet\""; \
|
||||
exit 1; \
|
||||
fi;
|
||||
$(GO) install github.com/mattermost/mattermost-govet/v2@new
|
||||
@VET_CMD="-license -structuredLogging -inconsistentReceiverName -inconsistentReceiverName.ignore=session_serial_gen.go,team_member_serial_gen.go,user_serial_gen.go -emptyStrCmp -tFatal -configtelemetry -errorAssertions"; \
|
||||
if ! [ -z "${MM_VET_OPENSPEC_PATH}" ] && [ -f "${MM_VET_OPENSPEC_PATH}" ]; then \
|
||||
VET_CMD="$$VET_CMD -openApiSync -openApiSync.spec=$$MM_VET_OPENSPEC_PATH"; \
|
||||
|
||||
Ссылка в новой задаче
Block a user