[Scons-users] Why directories are not removed on clean?
Russel Winder
russel at winder.org.uk
Wed Oct 24 08:07:20 EDT 2012
On Wed, 2012-10-24 at 02:44 +0300, Alexey Petruchik wrote:
> Hi, all
>
> My custom builder creates directory node. But when I run "scons -c" it is
> not removed like files. I've investigated this a bit and found that
> remove() method for node is called. This method is defined for FS.File so
> files are deleted. But for FS.Dir it fallbacks to empty implementation in
> Scons.Node.Node. My question was it made intentionally or it is just a bug?
Personally I consider this a bug. Any directory created during a build
run all contents of which are removed by a "scons -c" should be removed.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121024/2f3b5a57/attachment.pgp>
More information about the Scons-users
mailing list