jasmine generator 小更新
最近做了部分小更新:
- 修复了语句中含有 * 导致的 bug;
- 增加了对 ret1['a'] => ‘b’; 后边分号的支持;
- 增加了对 ret1['a'] // => ‘b’; 中间 // 的支持;
添加了 ant task 包以及示例文件, 方便在 ant 文件中添加 case 生成任务:
<!-- compile --> <target name="compile"> <taskdef name="py-run" classname="org.pyant.tasks.PythonRunTask" classpath="pyAntTasks-1.3.3.jar"/> </target> <!-- case --> <target name="runcase" depends="compile"> <py-run script="create.py"> <arg value="${root}"/> <arg value="${out}"/> <arg value="template=example/template.html"/> </py-run> <py-run script="create.py"> <arg value="${root}"/> <arg value="${out}"/> <arg value="template=example/template.js"/> </py-run> </target>
下载地址: https://github.com/nanzhi/jasmine-generator/zipball/master
如果有任何建议或者问题请直接联系我哈, 多谢大家~
这篇文章发布于 2011年06月20日,星期一,21:57,归类于 编码。 您可以跟踪这篇文章的评论通过 RSS 2.0 feed。 您可以留下评论,或者从您的站点trackback。