libvips / build-win64-mxe

73 stars 15 forks source link

Suggestion: add `--commit XXX` to build a specific libvips commit #44

Closed jcupitt closed 2 years ago

jcupitt commented 2 years ago

As well as nightly, how about something to build a specific libvips commit? It would be handy for making test builds for PRs, for example.

We could reimplement nightly on top of --commit, so it might not add too much new code.

kleisauke commented 2 years ago

Commit 752a66c0b46b02070e597369b17acae4d642482b implements a -c / --commit and -r / --ref option that allows libvips to be built from a specific commit or branch/tag.

Example usage:

./build.sh all --ref master
./build.sh all --ref v8.12.2
./build.sh all --ref add-more-libjxl-metadata
./build.sh all --commit 111eef0049068bd12e0ab5ffa1e26246f90a0a5f
jcupitt commented 2 years ago

Hooray! Thank you Kleis.