Saving several Monticello packages at once
Posted
by
Juan Barreda
on Stack Overflow
See other posts from Stack Overflow
or by Juan Barreda
Published on 2011-11-13T17:33:51Z
Indexed on
2011/11/13
17:50 UTC
Read the original article
Hit count: 268
I am working with Pharo Smalltalk. Suppose you want to save your own group of packages into a local repository, you know that your packages are prefixed with "MyPrefix". What's the right message to do it? In code:
| myPkgs |
myPkgs := MCPackage allInstances select: [: mcPkg | mcPkg name beginsWith: 'MyPrefix' ].
myPkgs do: [ : myPkg | myPkg ??? ].
It would be too difficult to script that one for a web based repository?
© Stack Overflow or respective owner