fix make run-server (#8819)
* fix `make run-server` The `PLATFORM_FILES` environment variable no longer gives `go run` the necessary context to run the mattermost binary. * clean up cmd/mattermost/cprofile*.out
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
11cbb59747
Коммит
e591fcf3d8
3
Makefile
3
Makefile
@@ -56,7 +56,7 @@ GO_LINKER_FLAGS ?= -ldflags \
|
|||||||
# GOOS/GOARCH of the build host, used to determine whether we're cross-compiling or not
|
# GOOS/GOARCH of the build host, used to determine whether we're cross-compiling or not
|
||||||
BUILDER_GOOS_GOARCH="$(shell $(GO) env GOOS)_$(shell $(GO) env GOARCH)"
|
BUILDER_GOOS_GOARCH="$(shell $(GO) env GOOS)_$(shell $(GO) env GOARCH)"
|
||||||
|
|
||||||
PLATFORM_FILES="./cmd/mattermost/"
|
PLATFORM_FILES="./cmd/mattermost/main.go"
|
||||||
|
|
||||||
# Output paths
|
# Output paths
|
||||||
DIST_ROOT=dist
|
DIST_ROOT=dist
|
||||||
@@ -504,6 +504,7 @@ clean: stop-docker ## Clean up everything except persistant server data.
|
|||||||
rm -f *.test
|
rm -f *.test
|
||||||
rm -f imports/imports.go
|
rm -f imports/imports.go
|
||||||
rm -f cmd/platform/cprofile*.out
|
rm -f cmd/platform/cprofile*.out
|
||||||
|
rm -f cmd/mattermost/cprofile*.out
|
||||||
|
|
||||||
nuke: clean clean-docker ## Clean plus removes persistant server data.
|
nuke: clean clean-docker ## Clean plus removes persistant server data.
|
||||||
@echo BOOM
|
@echo BOOM
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user