chore: better makefile

dev
Antonio De Lucreziis 3 years ago
parent 2a76e0621b
commit d5aa7c0ba2

@ -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

@ -5,9 +5,9 @@ all: setup build
.PHONY: setup
setup:
mkdir -p dist/
npm install
.PHONY: build
build:
npm install
npm run build

Loading…
Cancel
Save