[squeak-dev] The Trunk: Installer-Core-mt.419.mcz
Tobias Pape
Das.Linux at gmx.de
Mon Apr 16 08:59:54 UTC 2018
+1000
> On 16.04.2018, at 10:46, commits at source.squeak.org wrote:
>
> Marcel Taeumel uploaded a new version of Installer-Core to project The Trunk:
> http://source.squeak.org/trunk/Installer-Core-mt.419.mcz
>
> ==================== Summary ====================
>
> Name: Installer-Core-mt.419
> Author: mt
> Time: 16 April 2018, 10:46:20.910614 am
> UUID: 05f77b6b-1276-f246-b5f5-561d923aa1ac
> Ancestors: Installer-Core-mt.418
>
> Adds a convenience script to install (or update) Metacello.
>
> =============== Diff against Installer-Core-mt.418 ===============
>
> Item was added:
> + ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
> + ensureRecentMetacello
> + "Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
> +
> + ((Smalltalk classNamed: 'WebClient') httpGet: 'https://www.google.de') isSuccess
> + ifFalse: [^ self inform: 'Could not to resolve "https://www.google.de".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs].
> +
> + (Smalltalk hasClassNamed: 'Metacello') ifFalse: [
> + "Get the Metacello configuration (for Squeak users)"
> + Installer gemsource
> + project: 'metacello';
> + addPackage: 'ConfigurationOfMetacello';
> + install.
> +
> + "Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
> + ((Smalltalk at: #ConfigurationOfMetacello) project
> + version: #'previewBootstrap') load.
> +
> + "Load the Preview version of Metacello from GitHub"
> + (Smalltalk at: #Metacello) new
> + configuration: 'MetacelloPreview';
> + version: #stable;
> + repository: 'github://Metacello/metacello:configuration';
> + load].
> +
> + "Now load latest version of Metacello"
> + (Smalltalk at: #Metacello) new
> + baseline: 'Metacello';
> + repository: 'github://Metacello/metacello:master/repository';
> + get.
> + (Smalltalk at: #Metacello) new
> + baseline: 'Metacello';
> + repository: 'github://Metacello/metacello:master/repository';
> + load.!
>
>
More information about the Squeak-dev
mailing list
|