[Scons-users] emitter create dependency cycle

Arvid Rosén arvid at softube.com
Wed Sep 4 01:07:02 EDT 2013


Hi!

3 sep 2013 kl. 23:56 skrev Philipp Kraus <philipp.kraus at flashpixx.de>:


> On 2013-09-03 19:32:05 +0000, Arvid Rosén said:

>

> Yeah, this is tricky, and I would like to know how to handle stuff like this too in a good way!

>

> I have been facing similar problems on Mac OS when trying to write builders that operate on a bundle (which is a directory with a bunch of files).

>

> Wouldn't it be good to have a Node object that represents a directory as a single entity? That way you could write a builder that operates on the directory using a single action, and no need to have emitters to track all files in it. This would make it easy to copy and sign bundles etc. All these things tend to be difficult using Dir and File nodes.

>

> I'm thinking about a own Dir node, derivated from a Python.Value or an overloaded Filsystem.Node. Do you have any code excerpt, because I need some good ideas?


That sounds like something I had in mind, but no, I have no code for this. Only ugly workarounds that rather bypass the whole problem.

Cheers,
Arvid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130904/7c6c5d71/attachment.htm


More information about the Scons-users mailing list