Don't lint EE code in TE CI (#13574)
* Don't lint EE code in TE CI * Fix typo
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
092e53ace2
Коммит
81efef7b5a
4
Makefile
4
Makefile
@@ -161,8 +161,10 @@ golangci-lint: ## Run golangci-lint on codebase
|
||||
@echo Running golangci-lint
|
||||
golangci-lint run ./...
|
||||
ifeq ($(BUILD_ENTERPRISE_READY),true)
|
||||
ifneq ($(MM_NO_ENTERPRISE_LINT),true)
|
||||
golangci-lint run ./enterprise/...
|
||||
endif
|
||||
endif
|
||||
|
||||
i18n-extract: ## Extract strings for translation from the source code
|
||||
env GO111MODULE=off $(GO) get -u github.com/mattermost/mattermost-utilities/mmgotool
|
||||
@@ -456,8 +458,10 @@ vet: ## Run mattermost go vet specific checks
|
||||
|
||||
$(GO) vet -vettool=$(GOPATH)/bin/mattermost-govet -license -structuredLogging ./...
|
||||
ifeq ($(BUILD_ENTERPRISE_READY),true)
|
||||
ifneq ($(MM_NO_ENTERPRISE_LINT),true)
|
||||
$(GO) vet -vettool=$(GOPATH)/bin/mattermost-govet -enterpriseLicense -structuredLogging ./enterprise/...
|
||||
endif
|
||||
endif
|
||||
|
||||
todo: ## Display TODO and FIXME items in the source code.
|
||||
@! ag --ignore Makefile --ignore-dir vendor --ignore-dir runtime TODO
|
||||
|
||||
Ссылка в новой задаче
Block a user