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

Hernán Morales Durand hernan.morales at gmail.com
Mon Feb 21 13:00:03 UTC 2011


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