chore: better makefile

This commit is contained in:
2022-03-21 22:08:38 +01:00
parent 2a76e0621b
commit d5aa7c0ba2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -5,9 +5,9 @@ all: setup build
.PHONY: setup
setup:
mkdir -p dist/
npm install
.PHONY: build
build:
npm install
npm run build