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.
This commit is contained in:
Matt Weiden
2020-01-09 07:52:20 -08:00
committed by GitHub
parent 2d39cb3b30
commit e1ff800980
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -22,15 +22,15 @@ clean-%:
# BUILDING PACKAGE # BUILDING PACKAGE
.PHONY: build .PHONY: build
build: clean build-server build: clean build-cli
@echo "done" @echo "done"
.PHONY: build-client .PHONY: build-client
build-client: build-client:
cd client && $(MAKE) ci build cd client && $(MAKE) ci build
.PHONY: build-server .PHONY: build-cli
build-server: build-client build-cli: build-client
git ls-files server/ | cpio -pdm $(BUILDDIR) git ls-files server/ | cpio -pdm $(BUILDDIR)
cp -r client/build/ $(CLIENTBUILD) cp -r client/build/ $(CLIENTBUILD)
mkdir -p $(SERVERBUILD)/app/web/static/img mkdir -p $(SERVERBUILD)/app/web/static/img
+1 -1
View File
@@ -58,7 +58,7 @@ builds source code
``` ```
build - builds whole app client and server 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-client - runs webpack build
build-for-server-dev - builds client and copies output directly into source tree (only for server devlopment) build-for-server-dev - builds client and copies output directly into source tree (only for server devlopment)
``` ```