* 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
Этот коммит содержится в:
Jesse Hallam
2018-05-17 22:24:49 -04:00
коммит произвёл Christopher Speller
родитель 11cbb59747
Коммит e591fcf3d8

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

@@ -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