schveiguy / raylib-d

Resurrected copy of onroundit's raylib-d
zlib License
55 stars 14 forks source link

Add a helper application to download correct version of raylib #11

Closed schveiguy closed 1 year ago

schveiguy commented 2 years ago

Lately, many people have been mismatching the binary raylib release with the binding. Also, it's awkward to configure dub to point at libraries that are in various places (possibly somewhere in user's home directory).

I would like to have a subproject to raylib-d that downloads and installs the correct binary version for raylib that is currently configured. Something along the lines of:

% dub run raylib-d:install -- 4.0

Which then uses the current OS and compiler to download and install the correct library from the github releases page. It might even have options to edit the dub.json file to add the right flags, including the raylib-d dependency.

schveiguy commented 1 year ago

Closing this, it's working currently. It's still not downloading, but it can be augmented to do so in a later version.