[Cuis] A small variation to use provides / requires

Germán Arduino garduino at gmail.com
Sat Aug 24 15:44:30 CDT 2013


In complex packages that have many prerequisites, it is sometimes
uncomfortable place them in the package.

One way I found particularly useful is to put together a package installer
that contains the prerequisites only (a single class used to build the
package) as in Swazoo.

The example is in https://github.com/garduino/Cuis-Smalltalk-Swazoo -->
Swazoo-Installer.pck.st

Then, to install Swazoo you must evaluate: Feature require:
'Swazoo-Installer' and from others installer packages that require Swazoo,
you only must add the #requires for Swazoo-Installer, and the real code
packages (Swazoo and others related to network in this case) remain
untouched and can be used from different installers.

Reshaping the Aida installer right now :)

-- 
Saludos / Regards,
Germán Arduino
www.arduinosoftware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20130824/b9a41092/attachment-0002.html>


More information about the Cuis mailing list