Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@blackjk3
Created February 12, 2012 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blackjk3/1808891 to your computer and use it in GitHub Desktop.
Save blackjk3/1808891 to your computer and use it in GitHub Desktop.
r.js.xml
<!-- Require.js target, run separately -->
<target name="-r.js" description="Concatenates JS files using require.js dependencies">
<java classname="org.mozilla.javascript.tools.shell.Main">
<classpath>
<pathelement location="./${dir.build.tools}/${tool.rhino}" />
</classpath>
<arg value="tools/${tool.require}" />
<arg value="-o" />
<arg value="${require.build}" />
</java>
<echo message="optimized ${require.build}" />
</target>
@karlguillotte
Copy link

Thanks for the gist. Please note that the echo tag is not closed.

@blackjk3
Copy link
Author

Ah. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment