初始化组件脚本update

This commit is contained in:
niunai
2017-01-15 16:15:53 +08:00
parent 900b5d7063
commit 61415a16b6
18 changed files with 159 additions and 294 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
usage = "\
Usage: make <option> \n\n\
init componentname 初始化一个新组件请忽视makefile的报错 \n\n\
\n"
default:
@echo $(usage)
init:
node build/bin/init.js $(filter-out $@,$(MAKECMDGOALS))