Just call ./build or python build from the top-level folder, you will see all available commands. The build.yml file contains the configuration for all targets -- it includes documentation on the syntax to use.
The source folder which contains wkhtmltopdf (along with Qt) is always required as an argument; the version number is automatically generated based on the latest commit in git. In case you are rebuilding a tagged release, you can optionally specify an --iteration which is included in the filename, so that different filenames are generated if packaging scripts are different.
Before a release build, it is recommended to run docker system prune -af to ensure that the latest images are pulled.
看github官网。
Requirements
The software requirements on the build machine are:
gitandp7zippythonandPyYAMLdocker>= 17.05 (for linux targets)vagrantwithvirtualbox(for non-linux targets)On Ubuntu 18.04, this can be installed via a single command:
Build System
Just call
./buildorpython buildfrom the top-level folder, you will see all available commands. Thebuild.ymlfile contains the configuration for all targets -- it includes documentation on the syntax to use.The source folder which contains wkhtmltopdf (along with Qt) is always required as an argument; the version number is automatically generated based on the latest commit in git. In case you are rebuilding a tagged release, you can optionally specify an
--iterationwhich is included in the filename, so that different filenames are generated if packaging scripts are different.Before a release build, it is recommended to run
docker system prune -afto ensure that the latest images are pulled.现成的版本比较老了,有些bug没有修复,最新的提交已经修复了,所有需要自己编译最新的。
给我点个赞 鼓励我一下