[squeak-dev] add repositories to Monticello by script?

Ken G. Brown kbrown at mac.com
Mon Feb 21 16:49:45 UTC 2011


Thx!
Ken

At 2:00 PM +0100 2/21/11, Hernán Morales Durand apparently wrote:
>2011/2/20 Ken G. Brown <kbrown at mac.com>:
>> Is there a way to add repositories to Monticello by script so you don't have to use the +Repository button multiple times?
>>
>> Thx for any tips.
>> Ken G. Brown
>>
>>
>
>| repositories |
>repositories := MCRepositoryGroup default.
>{
>	(MCHttpRepository location: 'http://www.squeaksource.com/Phantasia'
>user: '' password: '').
>	(MCHttpRepository location: 'http://www.squeaksource.com/SmallFaces'
>user: '' password: '').
>}
>do: [ : aRepository | repositories addRepository: aRepository ]
>
>Hernán




More information about the Squeak-dev mailing list