Skip to content

Instantly share code, notes, and snippets.

@marceloverdijk
Created September 19, 2011 18:54
Show Gist options
  • Save marceloverdijk/1227269 to your computer and use it in GitHub Desktop.
Save marceloverdijk/1227269 to your computer and use it in GitHub Desktop.
<!-- Compile LessCSS -->
<macrodef name="lessjs">
<attribute name="input" />
<attribute name="output" />
<sequential>
<java jar="./${dir.build.tools}/${tool.rhino}" fork="true" output="@{output}">
<arg path="./${dir.build.tools}/${tool.less}" />
<arg path="@{input}" />
</java>
<echo>Lessjs: generated @{output}</echo>
</sequential>
</macrodef>
<target name="compilecss">
<lessjs input="./public/css/bootstrap/bootstrap.less" output="./public/css/bootstrap.css" />
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment