[Cuis-dev] How do I define a package as a Feature ?

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sat Jul 31 14:50:25 PDT 2021

On 2021-07-31 09:43, Nicola Mingotti via Cuis-dev wrote:

> I am interested in using RegEx which unfortunately is not defined
> as a Feature.
> I am interested in making it become a Feature.

Yes.  As I said, we should adopt this package into the Cuis-Smalltalk 

Git clone https://github.com/garduino/Cuis-Smalltalk-RegEx into dir 

Just open a FileList and load packages RegEx-Core and RegEx-Test via the 
installPackage button.

Open a Package Browser, select "RegEx-Core", fill in the description, 
use the button to "Add Requirement" of "Cuis-Base".  Save.

Also, save package RegEx-Tests after adding requirement RegEx-Core.

Close your image without saving.

In a fresh image,
   Feature require: 'RegEx-Tests'.
and the package should load both the core and tests.

If you now look at the chunk format source of the package files, you 
will see the Provides and Requires text which was added.


More information about the Cuis-dev mailing list