[Scons-users] Failed command does not invalidate the target
Tom Tanner (BLOOMBERG/ LONDON)
ttanner2 at bloomberg.net
Wed Jun 4 07:57:05 EDT 2014
I'm all for this. It makes a lot of sense.
Note however that if scons gets terminated with extreme prejudice, this won't work properly, which people should be aware of.
----- Original Message -----
From: scons-users at scons.org
To: scons-users at scons.org
At: Jun 4 2014 12:27:39
On Tue, Jun 3, 2014 at 11:44 PM, William Deegan <bill at baddogconsulting.com> wrote:
SCons does assume that you don’t modify the output files from a build.
It only keeps the signatures for sources, not targets.
This is true. However I'm wondering about Neil's original question, which is shouldn't SCons delete the target if the builder fails? I thought SCons always deletes the target(s) before running a builder, so I'm guessing in his case the builder wrote a partial output file and then failed. I think in this case it probably does make sense for SCons to delete the failed output file. Opinions?
--
Gary _______________________________________________ Scons-users mailing list Scons-users at scons.org http://four.pairlist.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140604/b26a4a8a/attachment.html>
More information about the Scons-users
mailing list