chore: better makefile
This commit is contained in:
@@ -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
@@ -5,9 +5,9 @@ all: setup build
|
||||
.PHONY: setup
|
||||
setup:
|
||||
mkdir -p dist/
|
||||
npm install
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user