14 lines
176 B
Makefile
14 lines
176 B
Makefile
|
SRC_DIR := ./dist
|
||
|
DEST_DIR := ../web
|
||
|
|
||
|
all: install build copy
|
||
|
|
||
|
install:
|
||
|
@npm install
|
||
|
|
||
|
build:
|
||
|
@npm run build
|
||
|
|
||
|
copy:
|
||
|
@rsync -av --exclude='index.html' $(SRC_DIR)/ $(DEST_DIR)
|