[prev in list] [next in list] [prev in thread] [next in thread] 

List:       darwinbuild-dev
Subject:    [darwinbuild] A couple of questions
From:       kevin () opendarwin ! org (Kevin Van Vechten)
Date:       2006-10-05 1:20:40
Message-ID: 44E2F9D6-866C-478E-A7E6-1EE6AE5F9852 () opendarwin ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic