Created
September 19, 2011 18:54
-
-
Save marceloverdijk/1227269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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