mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Adds comments to include targets in 'make help'. (#11860)
* Adds comments to include targets in 'make help'. * Update Makefile * Update Makefile Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
This commit is contained in:
parent
83197ec5ff
commit
7e7447eff7
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -249,14 +249,14 @@ do-cover-file: ## Creates the test coverage report file.
|
|||
go-junit-report:
|
||||
env GO111MODULE=off go get -u github.com/jstemmer/go-junit-report
|
||||
|
||||
test-compile:
|
||||
test-compile: ## Compile tests.
|
||||
@echo COMPILE TESTS
|
||||
|
||||
for package in $(TE_PACKAGES) $(EE_PACKAGES); do \
|
||||
$(GO) test $(GOFLAGS) -c $$package; \
|
||||
done
|
||||
|
||||
test-db-migration: start-docker
|
||||
test-db-migration: start-docker ## Gets diff of upgrade vs new instance schemas.
|
||||
./scripts/mysql-migration-test.sh
|
||||
./scripts/psql-migration-test.sh
|
||||
|
||||
|
|
@ -315,7 +315,7 @@ run-server: validate-go-version start-docker ## Starts the server.
|
|||
$(GO) run $(GOFLAGS) -ldflags '$(LDFLAGS)' $(PLATFORM_FILES) --disableconfigwatch | \
|
||||
$(GO) run $(GOFLAGS) -ldflags '$(LDFLAGS)' $(PLATFORM_FILES) logs --logrus &
|
||||
|
||||
debug-server: start-docker
|
||||
debug-server: start-docker ## Compile and start server using delve.
|
||||
mkdir -p $(BUILD_WEBAPP_DIR)/dist/files
|
||||
$(DELVE) debug $(PLATFORM_FILES) --build-flags="-ldflags '\
|
||||
-X github.com/mattermost/mattermost-server/model.BuildNumber=$(BUILD_NUMBER)\
|
||||
|
|
@ -324,7 +324,7 @@ debug-server: start-docker
|
|||
-X github.com/mattermost/mattermost-server/model.BuildHashEnterprise=$(BUILD_HASH_ENTERPRISE)\
|
||||
-X github.com/mattermost/mattermost-server/model.BuildEnterpriseReady=$(BUILD_ENTERPRISE_READY)'"
|
||||
|
||||
debug-server-headless: start-docker
|
||||
debug-server-headless: start-docker ## Debug server from within an IDE like VSCode or IntelliJ.
|
||||
mkdir -p $(BUILD_WEBAPP_DIR)/dist/files
|
||||
$(DELVE) debug --headless --listen=:2345 --api-version=2 --accept-multiclient $(PLATFORM_FILES) --build-flags="-ldflags '\
|
||||
-X github.com/mattermost/mattermost-server/model.BuildNumber=$(BUILD_NUMBER)\
|
||||
|
|
|
|||
Loading…
Reference in a new issue