Created
September 3, 2012 13:09
-
-
Save peterkeating/3609232 to your computer and use it in GitHub Desktop.
Removes the <script> tag that includes the LESS client side JavaScript library.
This file contains hidden or 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
| <property name="js.libs.dir" value="${basedir}/js/vendor" /> | |
| <property name="pages-files" value="header.php" /> | |
| <property name="intermediate.dir" value="${basedir}/deploy/intermediate" /> | |
| <!-- | |
| Removes the client side less javascript library. | |
| --> | |
| <target name="-removeclientless"> | |
| <replaceregexp match="<script src=".*${js.libs.dir}/less-1.3.0.min.js".*>" replace=" " flags="m"> | |
| <fileset dir="${intermediate.dir}" includes="${page-files}"/> | |
| </replaceregexp> | |
| </target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment