在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:whatwg/html-build开源软件地址:https://github.com/whatwg/html-build开源编程语言:HTML 87.2%开源软件介绍:HTML Build ToolsThis repository contains the tools and instructions necessary for building the HTML Standard from its source. Getting set upMake sure you have Then, clone this (html-build) repo: git clone https://github.com/whatwg/html-build.git && cd html-build You then have a decision to make as to how you want to do your builds: locally, on your computer, or using a Docker container. We suggest going the Docker route if and only if you are already comfortable with Docker. Building locallyPrerequisitesTo build locally, you'll need the following commands installed on your system:
Optionally, for faster builds, you can install Wattsi and Python 3.7+ (necessary for applying syntax highlighting to Running the buildRun the ./build.sh The first time this runs, it will look up for the HTML source from a You may also set the environment variable HTML_SOURCE=~/hacks/dhtml ./build.sh Building using a Docker containerThe Dockerized version of the build allows you to run the build entirely inside a "container" (lightweight virtual machine). This includes tricky dependencies like a local copy of Wattsi and Python. To perform a Dockerized build, use the ./build.sh --docker The first time you do this, Docker will download a bunch of stuff to set up the container properly, but subsequent runs will simply build the standard and be very fast. If you get permissions errors on Windows, you need to first configure your OutputAfter you complete the build steps above, the build will run and generate the single-page version of the spec, the multipage version, and more. If all goes well, you should very soon have an You can also use the Now you're ready to edit the Fast local iterationThere are a number of options to disable certain parts of the build process to speed up local iteration. Run A note on Git historyYour clone doesn't need the HTML standard's complete revision history just for you to build the spec and contribute patches. So, if you use cd ./html && git fetch --unshallow That said, if you really do want to start out with the complete history of the repo, then run the build script for the first time like this: HTML_GIT_CLONE_OPTIONS="" ./build.sh That will clone the complete history for you. But be warned: It'll make your first build take dramatically longer to finish! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论