PureDarwin / darwinbuild

Darwinbuild is a collection of tools that assist compilation of the many projects contained in Darwin, the open source base of Apple's macOS operating system.
https://macosforge.github.io/darwinbuild/
Other
48 stars 13 forks source link

Add the ability to fetch source tarballs from GitHub Releases #14

Closed wjk closed 7 years ago

wjk commented 7 years ago

This PR does just what the title indicates. To download a source tarball from GitHub, add the github key to a project's entry in the darwinbuild property list, as seen here:

<key>booter</key>
<dict>
    <key>version</key>
    <string>2.0.0</string>
    <key>target</key>
    <string>boot2</string>
    <key>github</key>
    <string>Andromeda-OS/booter</string>
    <key>environment</key>
    <dict>
        <key>RC_ARCHS</key>
        <string>i386</string>
    </dict>
</dict>

darwinbuild will then attempt to download https://github.com/Andromeda-OS/booter/archive/booter-2.0.0.tar.gz.