This is a D/Raylib project template. All you need is dub.json
file; copy-paste it into your project.
I highly recommend using the LDC compiler. It does the best optimizations. The DMD compiler, on the other hand, has the newest features.
dub add raylib-d
dub fetch
dub run raylib-d:install
Alternatively, watch my video explaining how to set up D/Raylib on OSX, Linux and Windows.
The license used is MIT.