mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Use specified GO var to generate go.work (#26508)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
969096a403
commit
9e6c06186b
@ -391,11 +391,11 @@ setup-go-work: ## Sets up your go.work file
|
|||||||
ifneq ($(IGNORE_GO_WORK_IF_EXISTS),true)
|
ifneq ($(IGNORE_GO_WORK_IF_EXISTS),true)
|
||||||
@echo "Creating a go.work file"
|
@echo "Creating a go.work file"
|
||||||
rm -f go.work
|
rm -f go.work
|
||||||
go work init
|
$(GO) work init
|
||||||
go work use .
|
$(GO) work use .
|
||||||
go work use ./public
|
$(GO) work use ./public
|
||||||
ifeq ($(BUILD_ENTERPRISE_READY),true)
|
ifeq ($(BUILD_ENTERPRISE_READY),true)
|
||||||
go work use ../../enterprise
|
$(GO) work use ../../enterprise
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user