Installing JSHydra 编辑
Prerequisites
- Mercurial 1.0 is needed to access source repositories.
- Prerequisites for building SpiderMonkey SpiderMonkey is part of the build process, but since JSHydra will get the code if required, you do not need to worry about obtaining the right version of SpiderMonkey.
Building JSHydra
JSHydra requires, as part of its build process, SpiderMonkey. By default, the configure script will obtain a known working copy of SpiderMonkey; it is possible via the --moz-src and --moz-obj
configure arguments to tell JSHydra to use existing copies of the source and build.
cd $HOME/jshydra hg clone http://hg.mozilla.org/users/Pidgeot18_gmail.com/jshydra/ cd jshydra ./configure make # run jshydra tests make check
Processing input files
JSHydra requires the files it processes to be correct JS files. Converting HTML, XUL, or XBL files into a readable JS equivalent is a work in progress, as is accounting for the preprocessing that Mozilla files sometimes use. There is not yet a repository for this information, but bug 506128
contains more information.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论