From a8312967c0f7bcd2b4aa968b7f873ada6fd71cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=AF=E6=9D=91=E6=9C=88?= Date: Sun, 16 Mar 2014 13:13:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOC/DEV/Feature/GULP.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 DOC/DEV/Feature/GULP.md diff --git a/DOC/DEV/Feature/GULP.md b/DOC/DEV/Feature/GULP.md new file mode 100644 index 0000000..22f597b --- /dev/null +++ b/DOC/DEV/Feature/GULP.md @@ -0,0 +1,21 @@ +## gulp配置 + +执行所有操作前将gulpfile.coffee编译成gulpfile.js + +### less + + gulp less + +将static下的less编译成css到所在目录 + + +### coffee + + gulp coffee +将static下的coffee编译并压缩到所在目录,如果有错误会throw, + + +### default + + gulp +执行上面两个操作,并watchstatic下的less和coffee文件