summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Hallam <jesse.hallam@gmail.com>2018-05-17 22:24:49 -0400
committerChristopher Speller <crspeller@gmail.com>2018-05-17 19:24:49 -0700
commite591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b (patch)
tree6c4cb4366d28e9e812c06d0737af2cf28b05c8f6 /Makefile
parent11cbb597471127c1b29e78e6cad0a1a4d93ea24c (diff)
downloadchat-e591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b.tar.gz
chat-e591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b.tar.bz2
chat-e591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c87e4f304..a7d6c3e82 100644
--- a/Makefile
+++ b/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
BUILDER_GOOS_GOARCH="$(shell $(GO) env GOOS)_$(shell $(GO) env GOARCH)"
-PLATFORM_FILES="./cmd/mattermost/"
+PLATFORM_FILES="./cmd/mattermost/main.go"
# Output paths
DIST_ROOT=dist
@@ -504,6 +504,7 @@ clean: stop-docker ## Clean up everything except persistant server data.
rm -f *.test
rm -f imports/imports.go
rm -f cmd/platform/cprofile*.out
+ rm -f cmd/mattermost/cprofile*.out
nuke: clean clean-docker ## Clean plus removes persistant server data.
@echo BOOM