https://mattermost.atlassian.net/browse/MM-47034

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2022-11-17 09:27:08 +05:30
коммит произвёл GitHub
родитель be46be4985
Коммит 17332035fa
3 изменённых файлов: 174 добавлений и 157 удалений

Просмотреть файл

@@ -725,6 +725,11 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
rm -f imports/imports.go
endif
ifeq ($(BUILD_BOARDS),true)
@echo Boards repository detected, temporarily removing boards_imports.go
rm -f imports/boards_imports.go
endif
# Update all dependencies (does not update across major versions)
$(GO) get -u ./...
@@ -735,6 +740,10 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
cp $(BUILD_ENTERPRISE_DIR)/imports/imports.go imports/
endif
ifeq ($(BUILD_BOARDS),true)
cp $(BUILD_BOARDS_DIR)/mattermost-plugin/product/imports/boards_imports.go imports/
endif
vet: ## Run mattermost go vet specific checks
$(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"; \