Closed brettviren closed 10 years ago
I've started a "feature-cleanup" branch for this.
My thinking on this is:
The current feature/requirements.py constructs a lot of directory convention. This is confusing and requires the pfi mess I plan to remove both but this will mean configurations need to be re-tweaked.
This has been merged into master. A few changes worth noting:
exec_command
will have the output placed in {out}/logs/
instead of CWDstep()
method augmented onto the task gen. This will append a standard "control" file as output. This file is named by convention and a node for it can be got from control_node()
augmented method in order for features to insert dependencies without needing to know details about what files a step otherwise might produce.
I found an old thread initiated by Sebastien on the waf list. It shows a possibly better way to handle features
https://groups.google.com/d/msg/waf-users/eS4NGebR1Zc/iDY3zSFtWewJ
It points out the abstract_process example in the waf source.
worch features were originally something closer to this but my lack of understanding and some problems with dependency resolution led me to the current setup. Using waf features instead of made up worch ones and using explicit marker files for each step seems to be more organized way to do things..