diff --git a/Makefile b/Makefile index c487c55..e2095d0 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ build: $(MAKE) -C server build $(MAKE) -C client build - rsync -acvh server/bin/posti-dm dist/ - rsync -acvh client/dist/ dist/ + rsync -ach server/bin/posti-dm dist/ + rsync -ach client/dist/ dist/ cp .env dist/.env diff --git a/client/Makefile b/client/Makefile index 9bd00bf..b9f9413 100644 --- a/client/Makefile +++ b/client/Makefile @@ -5,9 +5,9 @@ all: setup build .PHONY: setup setup: mkdir -p dist/ + npm install .PHONY: build build: - npm install npm run build