Run golangci-lint on EE packages if present (#13143)

The Go toolchain doesn't work with symlinks. Hence we need to explicitly
mention the directory name for it to work.
This commit is contained in:
Agniva De Sarker
2019-11-25 23:24:54 +05:30
committed by Ben Schumacher
parent 5c41c8b173
commit e1adfb0d47

View File

@@ -159,7 +159,10 @@ golangci-lint: ## Run golangci-lint on codebase
fi; \
@echo Running golangci-lint
golangci-lint run
golangci-lint run ./...
ifeq ($(BUILD_ENTERPRISE_READY),true)
golangci-lint run ./enterprise/...
endif
i18n-extract: ## Extract strings for translation from the source code
env GO111MODULE=off go get -u github.com/mattermost/mattermost-utilities/mmgotool