Unconditional compilation?
Christopher Wright
dhasenan at gmail.com
Sun Mar 9 08:12:33 PDT 2008
Simen Kjaeraas wrote:
> Simple answer to that is it might get compiled some other time, and
> whoever uses your code at that time would probably not enjoy being
> bitten by such errors.
> Say you change some version'd part of your code, and forget to check it
> for bugs (you've compiled it, it works, life's great, but you forgot
> that small version=foo flag).
>
> -- Simen
Continuous integration is great. I should see what's required to get
CruiseControl working and happy with D. It should be relatively easy if
you use DSSS, except if you have multiple targets or platforms. Multiple
targets is doable, but requires parsing the dsss.conf file. Multiple
platforms is doable, but you'd have to arrange for separate dmd/gcc
installations and enumerate them somewhere. Maybe separate DSSS
installations, since you can't (as far as I could tell after about five
minutes of searching) specify which rebuild profile to use on the
command line.
More information about the Digitalmars-d-learn
mailing list