Skip to content

Instantly share code, notes, and snippets.

@kageroh
Created October 1, 2010 02:01
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 kageroh/605617 to your computer and use it in GitHub Desktop.
Save kageroh/605617 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<job>
<object id="shell" progid="WScript.Shell" />
<script language="JScript"><![CDATA[
(function() {
var path = WSH.arguments(0);
shell.run([
'ajaxmin',
'"' + path + '"',
'-out',
'"' + path.replace(/^(.*)\.([^\.]+)$/i, '$1.min.$2') + '"'
].join(' '));
})();
]]></script>
</job>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment