Disable product mode for playbooks
Этот коммит содержится в:
3
Makefile
3
Makefile
@@ -200,7 +200,7 @@ endif
|
|||||||
|
|
||||||
# Playbooks
|
# Playbooks
|
||||||
BUILD_PLAYBOOKS_DIR ?= ../mattermost-plugin-playbooks
|
BUILD_PLAYBOOKS_DIR ?= ../mattermost-plugin-playbooks
|
||||||
BUILD_PLAYBOOKS ?= true
|
BUILD_PLAYBOOKS ?= false
|
||||||
|
|
||||||
ifeq ($(BUILD_PLAYBOOKS),true)
|
ifeq ($(BUILD_PLAYBOOKS),true)
|
||||||
IGNORE:=$(shell cp $(BUILD_PLAYBOOKS_DIR)/product/imports/playbooks_imports.go imports/)
|
IGNORE:=$(shell cp $(BUILD_PLAYBOOKS_DIR)/product/imports/playbooks_imports.go imports/)
|
||||||
@@ -431,6 +431,7 @@ endif
|
|||||||
|
|
||||||
setup-go-work: export BUILD_ENTERPRISE_READY := $(BUILD_ENTERPRISE_READY)
|
setup-go-work: export BUILD_ENTERPRISE_READY := $(BUILD_ENTERPRISE_READY)
|
||||||
setup-go-work: export BUILD_BOARDS := $(BUILD_BOARDS)
|
setup-go-work: export BUILD_BOARDS := $(BUILD_BOARDS)
|
||||||
|
setup-go-work: export BUILD_PLAYBOOKS := $(BUILD_PLAYBOOKS)
|
||||||
setup-go-work: ## Sets up your go.work file
|
setup-go-work: ## Sets up your go.work file
|
||||||
./scripts/setup_go_work.sh $(IGNORE_GO_WORK_IF_EXISTS)
|
./scripts/setup_go_work.sh $(IGNORE_GO_WORK_IF_EXISTS)
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ then
|
|||||||
txt="${txt}use ../focalboard/server\nuse ../focalboard/mattermost-plugin\n"
|
txt="${txt}use ../focalboard/server\nuse ../focalboard/mattermost-plugin\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
txt="${txt}use ../mattermost-plugin-playbooks\n"
|
if [ "$BUILD_PLAYBOOKS" == "true" ]
|
||||||
|
then
|
||||||
|
txt="${txt}use ../mattermost-plugin-playbooks\n"
|
||||||
|
fi
|
||||||
|
|
||||||
printf "$txt" > "go.work"
|
printf "$txt" > "go.work"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user