On Tue, 23 Aug 2016 12:19:12 -0400, Nick Sabalausky wrote:
> Couple very minor updates:
Please, for the love of potatoes, tell people what the project is for!
gen-package-version creates a package version string for D projects. Add
a hook to your dub.json and then you can show off what version your
binary was built from and when, eg:
module awesomeness.main;
void main(string[] args) {
import awesomeness.packageVersion, std.stdio;
if (args[1] == "--version") {
writefln("awesomeness version %s built %s",
packageVersion, packageTimestamp);
}
}