summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 492275eca..0889dab31 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ build: .prebuild prepare-enterprise
build-client:
@echo Building mattermost web app
- cd $(BUILD_WEBAPP_DIR) && make build
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) build
package: build build-client
@@ -183,10 +183,17 @@ run-server: prepare-enterprise start-docker
run-client:
@echo Running mattermost client for development
- cd $(BUILD_WEBAPP_DIR) && make run
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) run
+
+run-client-fullmap:
+ @echo Running mattermost client for development with FULL SOURCE MAP
+
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) run-fullmap
run: run-server run-client
+run-fullmap: run-server run-client-fullmap
+
stop-server:
@echo Stopping mattermost
@@ -203,7 +210,7 @@ stop-server:
stop-client:
@echo Stopping mattermost client
- cd $(BUILD_WEBAPP_DIR) && make stop
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) stop
stop: stop-server stop-client
@@ -218,7 +225,7 @@ clean: stop-docker
rm -Rf $(DIST_ROOT)
go clean $(GOFLAGS) -i ./...
- cd $(BUILD_WEBAPP_DIR) && make clean
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) clean
rm -rf api/data
rm -rf logs