From e1ff800980f6ac0d0ea9733336d9c6c4dd70db31 Mon Sep 17 00:00:00 2001 From: Matt Weiden <538456+mweiden@users.noreply.github.com> Date: Thu, 9 Jan 2020 07:52:20 -0800 Subject: [PATCH] Rename Makefile target `build-server` to `build-cli` (#1103) The `build-server` makefile target does not actually build the server module, rather it builds the CLI. Rename this target to make it less confusing. --- Makefile | 6 +++--- dev_docs/developer_scripts.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e8d4520b..f55b5ee5 100644 --- a/Makefile +++ b/Makefile @@ -22,15 +22,15 @@ clean-%: # BUILDING PACKAGE .PHONY: build -build: clean build-server +build: clean build-cli @echo "done" .PHONY: build-client build-client: cd client && $(MAKE) ci build -.PHONY: build-server -build-server: build-client +.PHONY: build-cli +build-cli: build-client git ls-files server/ | cpio -pdm $(BUILDDIR) cp -r client/build/ $(CLIENTBUILD) mkdir -p $(SERVERBUILD)/app/web/static/img diff --git a/dev_docs/developer_scripts.md b/dev_docs/developer_scripts.md index d456dd38..34117022 100644 --- a/dev_docs/developer_scripts.md +++ b/dev_docs/developer_scripts.md @@ -58,7 +58,7 @@ builds source code ``` build - builds whole app client and server -build-server - makes build dir and moves python and client files +build-cli - makes build dir and moves python and client files build-client - runs webpack build build-for-server-dev - builds client and copies output directly into source tree (only for server devlopment) ```