Skip to content

Instantly share code, notes, and snippets.

@blackjk3 blackjk3/r.js.xml
Created Feb 12, 2012

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented May 22, 2012

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

@blackjk3

This comment has been minimized.

Copy link
Owner Author

commented May 22, 2012

Ah. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.