I found SCons, which looks useful, but it's not exactly what I'm looking for. I don't really want a build tool; what I really want is a package manager.
Other languages have similar tools:
I would like to have a single database of open-source D projects that can be integrated into a larger application with only a couple commands, such as (assuming dpack is the command):
# get source from database, run build script if there is one
dpack install some_package
# builds current package, grabbing dependencies as necessary
dpack build
# removes source (build will fail without it)
dpack remove
Is there anything like this for D? If not, I'll probably end up writing it myself.
Gradle is a tool that can be used to manage packages for a variety of different languages, including Java, C and JavaScript.
A package manager keeps track of what software is installed on your computer, and allows you to easily install new software, upgrade software to newer versions, or remove software that you previously installed.
Introduction. Ubuntu's package management system is derived from the same system used by the Debian GNU/Linux distribution. The package files contain all of the necessary files, meta-data, and instructions to implement a particular functionality or software application on your Ubuntu computer.
I found this,
http://code.dlang.org/about
It distrubute something called DUB packages.
DUB is s build tool for D projects with support for automatically retrieving dependencies and integrating them in the build process. The design emphasis is on maximum simplicity for simple projects, while providing the opportunity to customize things when needed.
Update: Please see the top rated answer about Dub. It is now the defacto package manager for D and will soon to be the official package manager which will be included with D compilers.
There have been several attempts by various people and a lot of discussion. The only one I know of that is actively being worked on is Orbit by Jacob Carlborg.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With