Skip to content

Instantly share code, notes, and snippets.

View IRediTOTO's full-sized avatar
💭
I may be slow to respond.

What are you searching? IRediTOTO

💭
I may be slow to respond.
View GitHub Profile
@peterkeating
peterkeating / gist:3609221
Created September 3, 2012 13:07
Converting less to css via Ant build script.
<property name="included.less.stylesheets" value="first.less,second.less"/>
<property name="tool.lessc" value="/build/tools/lessc/lessc.cmd"/>
<property name="css.dir" value="css" />
<property name="less.dir" value="less" />
<target name="-less">
<for param="less.file" list="${included.less.stylesheets}">
<sequential>
<echo>compiling @{less.file} to @{less.file}.css</echo>
<exec dir="${basedir}" executable="${tool.lessc}" failifexecutionfails='true'>