[Scons-dev] How to traverse the graph after files are read

anatoly techtonik techtonik at gmail.com
Tue May 19 03:57:45 EDT 2015


So far I discovered Taskmaster.

    Taskmaster
        This is the main engine for walking the dependency graph and
        calling things to decide what does or doesn't need to be built.

But it looks like it already needs a graph of nodes to process and
I don't see where to get them.


On Tue, May 19, 2015 at 10:51 AM, anatoly techtonik <techtonik at gmail.com> wrote:
> No. I need a programmatic way to do this from Main.py
> There is a fs object after SCons read all files, but I don't
> understand how filesystem becomes a build graph.
>
>
> On Tue, May 19, 2015 at 1:03 AM, William Blevins <wblevins001 at gmail.com> wrote:
>> --tree=all plus --dry-run should work?
>>
>> On May 18, 2015 2:11 PM, "anatoly techtonik" <techtonik at gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I am trying to get SCons build graph after files
>>> are read, but before the processing is started.
>>>
>>> I want it to be an alternative to build process
>>> and interactive mode:
>>>
>>> https://bitbucket.org/scons/scons/src/95b566e4baf0253e1b36b8a9e00a97cd84d22566/src/engine/SCons/Script/Main.py?at=default#cl-1091
>>>
>>> How to start traversing nodes without building?
>>> --
>>> anatoly t.
>>> _______________________________________________
>>> Scons-dev mailing list
>>> Scons-dev at scons.org
>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>
>
>
> --
> anatoly t.



-- 
anatoly t.


More information about the Scons-dev mailing list