Skip to content

Instantly share code, notes, and snippets.

@EiichiroIto
Last active August 27, 2022 06:40
Show Gist options
  • Save EiichiroIto/508ddba8a1d13485e99086d7cb86191f to your computer and use it in GitHub Desktop.
Save EiichiroIto/508ddba8a1d13485e99086d7cb86191f to your computer and use it in GitHub Desktop.
Deploying Pharo Smalltalk Application
deploySystem
World closeAllWindowsDiscardingChanges.
FreeTypeFontProvider current updateFromSystem.
MCRepositoryGroup
allSubInstancesDo: [ :gr | gr repositories do: [ :r | gr removeRepository: r ] ].
IceRepository registry removeAll.
IceCredentialStore current
in:
[ :store | store allCredentials do: [ :each | each removeFrom: store ] ].
Smalltalk cleanUp: true except: {} confirming: false.
Deprecation
raiseWarning: false;
showWarning: false.
NoChangesLog install.
NoPharoFilesOpener install.
Stdio useNullStreams.
MCCacheRepository uniqueInstance disable.
EpMonitor reset.
5 timesRepeat: [ Smalltalk garbageCollect ].
Smalltalk snapshot: true andQuit: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment