Skip to content

Commit 9f2dc9d

Browse files
author
yckj0834
committed
Sun Mar 8 02:56:08 CST 2020
1 parent 858808d commit 9f2dc9d

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

Makefile

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
1-
.PHONY: push node_modules
1+
.PHONY: push install clean all
22

3-
push: node_modules
3+
push:
44
git add .
55
git commit -m "`date`"
66
git push
77

8-
node_modules: Makefile
9-
npm install
8+
all: install
9+
npm run dev
10+
11+
run:
12+
npm run dev
13+
14+
install: Makefile pre
15+
npm install
16+
17+
pre:
18+
@echo 检查安装环境
19+
npm version
20+
21+
clean:
22+
rm -rf node_modules

0 commit comments

Comments
 (0)