[Scons-dev] Checking a target has been built

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Thu Aug 22 07:04:29 EDT 2013


There was a discussion about this a while ago, and I got round to looking at it. I seem to have found a trivial solution, but it's so trivial I'm extremely worried by it.

in Node/__init__.py:
Add the following to built(self) after the self.clean() call

if not self.exists():
print "Warning: Cannot find target after building", self

Am I missing something?
(Clearly I'd like it to be an error but a warning to start off with would be safer...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20130822/b9514988/attachment.htm>


More information about the Scons-dev mailing list