|
The CompilerBase class actually has a NeedsCompiling function which returns a bool as to whether compilation should happen. It should be relatively simple to add a check to see if the build file is newer than the output, and return true.
Another option is to add an attribute to turn on/off this type of checking. I was thinking of something like “WatchBuildFile = true/false” (def. = true?).
Comments?
If you always want to (re)build, just delete the output before the compile.
-----Original Message-----
um...
the csc task. but I have no idea if that is the task that decides about the need to recompile. ____________
|
- [nant-dev] Bug in need-rebuild detection? Andy Smith
- RE: [nant-dev] Bug in need-rebuild detection? Scott Hernandez
- Re: [nant-dev] Bug in need-rebuild detection? Ian MacLean
- Re: [nant-dev] Bug in need-rebuild detection? Brad Wilson
- Re: [nant-dev] Bug in need-rebuild detection? Ian MacLean
- Scott Hernandez
