CSS我能成功在我的build.xml文件使用下面的脚本编译我SASS为CSS编译SASS使用ANT构建任务
<apply executable="sass.bat" dest="${css.dir}" verbose="true" force="true" failonerror="true">
<arg value="--unix-newline" />
<srcfile />
<targetfile />
<fileset dir="${sass.dir}" includes="**/*.scss,**/*.sass" excludes="**/_*" />
<firstmatchmapper>
<globmapper from="*.sass" to="*.css" />
<globmapper from="*.scss" to="*.css" />
</firstmatchmapper>
</apply>
<echo message="Done compiling scss files!" />
</target>
如何传递SASS选项参数?比如我想编译SASS到--style:压缩状态
谢谢JamieJag! :-D – user1812741 2013-05-01 15:47:51