darwinbuild never accepts input from stdin. However, you should be able to do the following: # cat projects.txt | xargs -n 1 darwinbuild -fetch - Kevin On Nov 2, 2005, at 7:09 PM, ice wrote:
One more question: what about autmatically fetching all the sources as well? I tried: # darwinbuild -fetch < projects.txt But it didn't pick up the list.
On 11/2/05, Kevin Van Vechten <kevin@opendarwin.org> wrote:
2) Is there a way to automatically build a large number of projects? Should I just write a shell script that goes through the projects I want built?
Yes, you can put a list of projects into a text file (one project name per line) and use the following script:
# darwinxref version '*' | sed -e 's/-.*//' > projects.txt # /usr/local/share/darwinbuild/buildlist projects.txt
There's also an experimental script that attempts to inspect the dependencies and outputs a list of projects rearranged into an optimal order:
# /usr/local/share/darwinbuild/buildorder projects.txt ordered- projects.txt
You could then use buildlist on that result.
Hope this helps,
- Kevin
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild