=========
用grunt-init构建icat项目, 项目中包含css编译、文件合并及压缩。
-
请先安装grunt-init.
-
再把模版文件复制到
~/.grunt-init/
(%USERPROFILE%\.grunt-init\
on Windows)文件夹里。如下所示:
git clone https://github.com/valleykid/icatBuild.git ~/.grunt-init/icatBuild
在命令行中,cd进入空文件夹里,运行如下的命令:
grunt-init icatBuild
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.