Skip to content

Commit 61126b9

Browse files
author
Johan Brichau
committed
Updated load snippets [ci skip]
1 parent 6a62ba3 commit 61126b9

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,41 @@ The [Travis CI builds](https://travis-ci.org/SeasideSt/Grease) currently test Gr
2727

2828
## Installation
2929

30-
### Squeak and Pharo
30+
#### Prerequisite on Squeak and Pharo <3.0
3131

32-
Make sure you have the [MetacelloPreview version](https://github.com/dalehenrich/metacello-work), otherwise the load will not work. You have two options for loading: from Smalltalkhub or from Github.
32+
Make sure you have the [MetacelloPreview version](https://github.com/dalehenrich/metacello-work), otherwise the load will not work.
33+
34+
### Squeak and Pharo >=3.0
35+
36+
Load the latest code from master (i.e. stable):
3337

34-
Load from Smalltalkhub:
3538
```Smalltalk
3639
Metacello new
37-
configuration: 'Grease';
38-
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
39-
version: #stable;
40+
baseline: 'Grease';
41+
githubUser: 'SeasideSt' project: 'Grease' commitish: 'master' path: 'repository';
4042
load
4143
```
4244
-or-
43-
Load from: Github:
45+
46+
Load a specific version:
47+
4448
```Smalltalk
4549
Metacello new
4650
baseline: 'Grease';
47-
githubUser: 'SeasideSt' project: 'Grease' commitish: '' path: 'repository';
51+
githubUser: 'SeasideSt' project: 'Grease' commitish: 'v1.3.0' path: 'repository';
52+
load
53+
```
54+
-or-
55+
56+
Legacy: load from Smalltalkhub:
57+
```Smalltalk
58+
Metacello new
59+
configuration: 'Grease';
60+
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
61+
version: '1.0.0';
4862
load
4963
```
64+
5065
### GemStone
5166

5267
Grease is part of the GLASS setup. You can upgrade your version of Grease using [GsUpgrader](https://github.com/GsDevKit/gsUpgrader).

0 commit comments

Comments
 (0)