I forked the last release of jQuery ui from github and modified the code, and now I want to build it to create a piled code like google's code.
I see there is a build.xml
in the /build
directory, which says:
<!--
jQuery UI Release!
Call task called 'deploy-release' to build a full release.
The release built will be stored on 'dist' dir.
-->
I dont know how to call the deploy-release
. What should i do to generate the piled javascript file?
I forked the last release of jQuery ui from github and modified the code, and now I want to build it to create a piled code like google's code.
I see there is a build.xml
in the /build
directory, which says:
<!--
jQuery UI Release!
Call task called 'deploy-release' to build a full release.
The release built will be stored on 'dist' dir.
-->
I dont know how to call the deploy-release
. What should i do to generate the piled javascript file?
- what operating system are you on? – Matt Commented May 23, 2011 at 17:59
- under windows but i have cygwin – Gergely Fehérvári Commented May 23, 2011 at 18:06
4 Answers
Reset to default 3The build.xml
file looks like an Ant file to me so try using Ant. Also, in build/release/prepare-release
, we see this:
# Run the build
echo "Running build..."
ant
So it using Ant.
Take a look at the documentation for jQuery. The build process is the same for jQuery UI.
The instructions are here
From the root of the jquery-ui repo:
cd build
ant
Currently, you must have Java, Ant, and Node.js installed for it to work. I remend using NVM to install node.
Update: the link above is broken and new build instructions are in the README on github: https://github./jquery/jquery-ui
If you don't like using what the process above...you can minify your JavaScript by cutting-and-pasting right into Google's Closure Compiler.