mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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:
committed by
Ben Schumacher
parent
5c41c8b173
commit
e1adfb0d47
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user