Reloaded for dub
Kingsley via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Feb 20 06:00:31 PST 2015
Hi
Just thought I would share this in case anyone else finds it
useful. I wrote a tiny utility that detects changes to D files
and then rebuilds and re-executes the main binary using dub.
I use for developing with vibe.d and other dub D project that
have an executable binary.
The code is here: https://github.com/kingsleyh/reloaded
essentially you just run dub in the root and it builds the
reloaded binary. Then you just copy that binary to the root of
your dub project and ./reloaded and then as soon as you make a
change to a D file your code will be built and executed.
--K
More information about the Digitalmars-d-announce
mailing list