Canonical hello world program in D. Also wired up for testing Jenkins.
To build the hello
executable, run:
make hello
You will need to have the D compiler installed. On a Mac, you can ensure this is installed with brew install dmd
.
To run tests, use make:
make tests
Tests are written in Bats. On a Mac the easiest way to get Bats is to use Hombrew (brew install bats
).