[squeak-dev] The Trunk: ReleaseBuilder-fbs.93.mcz

Frank Shearar frank.shearar at gmail.com
Wed Feb 27 14:41:57 UTC 2013


On 27 February 2013 14:22, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 2013-02-27, at 12:12, Frank Shearar <frank.shearar at gmail.com> wrote:
>
>> At any rate, this is half of my proposal. I haven't yet actually
>> stripped anything out of Trunk, mainly because I'm unsure how. I think
>> I need to take a clean, updated image and run a script on it, and at
>> the moment don't know what that script looks like. Maybe this?:
>>
>>       (MCWorkingCopy allManagers select:
>>               [:mgr | #('Foo' 'Bar' 'Baz') includes: mgr packageName ])
>>                       do: [:wc | wc unload].
>
> Or perhaps
>
> #('Foo' 'Bar' 'Baz') do: [:pkgName | | pkg |
>         pkg := MCPackage named: pkgName.
>         pkg hasWorkingCopy ifTrue: [pkg unload]].
>
>>       WorldState addDeferredUIMessage: [ SmalltalkImage current snapshot:
>> false andQuit: true ].
>
>
> No snapshot?

Haha! Nice catch! Yes, that would have otherwise been a pointless
exercise! Serves me right for copy-pasting the end of what I use for
the CI tests. (There's a case for preserving those images, actually.
I'm pretty sure the Pharo people do so so they can actually use a
Debugger to understand test failures. One thing at a time...)

frank

> - Bert -
>
>
>


More information about the Squeak-dev mailing list