[ANN][TEST] Sunit tests for the ANSI Smalltalk part of Squeak
Alain Fischer
mailinglist.fischer at bluewin.ch
Mon Mar 10 20:30:13 UTC 2003
Marcus,
Thanks for your explanations.
I will make a SAR in a few days.
Alain
Le Lundi 10 mars 2003, à 02:00 , Marcus Denker a écrit :
> Hi Alain,
>
> thanks for making the tests available on SqueakMap!
>
> On Mon, Mar 10, 2003 at 09:25:49AM +0100, Stephane Ducasse wrote:
> ...
>> this way the guy will not need to fix the variable to the current
>> directory.
>>
> Or you could use a SAR file... this is actually pretty simple:
>
> SAR files are just renamed zip-files that contain a install-script.
> So actually not much different to the tar.gz you used. You only
> need to rename the install script and use zip instead of tgz.
>
> 1) add a directory "install". This contains two files: preamble
> and postscript. thee "postscript" ist optional.
>
> The preamble contains code that will be exectuted if you install
> a .SAR file, the code in postscript is run after installation.
>
> So you can simple move all logic from ACSInstl.st to the preamble.
>
> To make filing in easier, the SAR-framework contains some helper-methods
> you can call from the preamble. e.g. for filing in code you would use:
>
> self fileInMemberNamed: 'file.cs'.
>
>
> 2) make a zip file that contains all the changesets and the files
> from the "install" directory.
>
> 3) rename the .zip file to .sar. That's it.
>
> --
> Marcus Denker marcus at ira.uka.de -- Squeak! http://squeak.de
>
>
More information about the Squeak-dev
mailing list
|