[Cuis] Cuis-Features

Juan Vuletich juan at jvuletich.org
Sat Jun 29 16:37:16 CDT 2013


Wow! This is just great!

Thanks, Ken. I haven't tried it yet, but it really looks like what we 
need. I'll try to add the provides / requires info to the package files, 
and integrate the code.

I'm really happy!

Cheers,
Juan Vuletich

On 28/06/2013 12:17 a.m., Ken Dickey wrote:
> I did a design-sketch/prototype of software Features (Provide/Require) for Cuis.
>
> 	https://github.com/KenDickey/Cuis-Features
>
> Just to see if anyone thinks such a thing might be useful.
>
>
> Very lightly tested.  Try:
>
> 	(RequiresFeatureSpec name: #Sound) require.
>
> This should load packages Compression, Graphics-Files-Additional, and Sound in that order.
>
>
> Rather than making changes to the package structure I added a small dictionary with the provides/requires info and pretend to read it from the package.
>
> A lot of details to fill in if it seems useful.
>
>
> You can add your package dependencies to
> 	FeatureSpec class>>initializeTemporaryTestScaffold
> and re-initialize the class to try out your own stuff.
>
> Morphic-Games-Solitaire requires #'Graphics-Files-Additional'
> So:
> 	(RequiresFeatureSpec name: #'Morphic-Games-Solitaire') require
> autoloads Compression, Graphics-Files-Additional, and Solitaire.
>
>
> Try it out.  If nothing else, you can require #Test.
>
>
> Cheers,
> Ken [dot] Dickey [at] whidbey [dot] com
> -------------------
> Q: What use is it?
> A: What use is a baby?  It may grow up to be somebody.





More information about the Cuis mailing list