javascript - how to build a custom jquery ui file - Stack Overflow

I forked the last release of jQuery ui from github and modified the code, and now I want to build it to

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?

Share Improve this question edited May 23, 2011 at 20:24 Gergely Fehérvári asked May 23, 2011 at 17:50 Gergely FehérváriGergely Fehérvári 7,9516 gold badges52 silver badges77 bronze badges 2
  • 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
Add a ment  | 

4 Answers 4

Reset to default 3

The 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745447310a4628106.html

相关推荐

  • javascript - how to build a custom jquery ui file - Stack Overflow

    I forked the last release of jQuery ui from github and modified the code, and now I want to build it to

    12小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信