我刚刚开始玩 Kickstrap,但无法让构建脚本正常工作。
按照此处的说明,我创建了一个新的 Kickstrap 项目(只需将文件解压缩到一个目录),然后转到 site1/build/ 并运行:
ant build
但构建失败并出现以下错误:
-js.all.minify:
[echo] Minifying scripts
[copy] Copying 2 files to /home/bob/site1/intermediate/js
[apply] /home/bob/site1/js/tests/server.js:10: ERROR - Parse error. missing name after . operator
[apply] .use(connect.static(__dirname + '/../../'));
[apply] ^
[apply]
[apply] 1 error(s), 0 warning(s)
[apply] Result: 1
和
-less:
[echo] Converting LESS to CSS...
[echo] Minifying css...
[checksum] Could not find file /home/bob/site1/intermediate/css/style.less.min.css to generate checksum for.