Last updated at 7:13 pm UTC on 17 August 2020
Object subclass: #MCPackageManager
instanceVariableNames: 'package modified'
No class comment, what it it doing?
Subclass is MCWorkingCopy
From: Bert Freudenberg <email@example.com>
Date: Wed, 27 Feb 2013 15:22:04 +0100
Subject: Re: [squeak-dev] The Trunk: ReleaseBuilder-fbs.93.mcz
To: The general-purpose Squeak developers list
On 2013-02-27, at 12:12, Frank Shearar <firstname.lastname@example.org> 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].
#('Foo' 'Bar' 'Baz') do: [:pkgName | | pkg |
pkg := MCPackage named: pkgName.
pkg hasWorkingCopy ifTrue: [pkg unload]].
> WorldState addDeferredUIMessage: [ SmalltalkImage current snapshot:
> false andQuit: true ].
- Bert -