X Tutup
Skip to content

Commit 6c750b1

Browse files
author
Johan Brichau
committed
Put load instructions for recent Pharo first
1 parent 03a1a1f commit 6c750b1

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -34,35 +34,7 @@ Coveralls (experimental): [![Coverage Status](https://coveralls.io/repos/github/
3434

3535
Make sure you have the [MetacelloPreview version](https://github.com/dalehenrich/metacello-work), otherwise the load will not work.
3636

37-
### Pharo < 4.0
38-
39-
The compatibility for Pharo < 4.0 is not maintained for new releases. If you need grease in Pharo < 4, we recommand to either update your pharo version or reference the latest release compatible with Pharo < 4, which is currently v1.4.1.
40-
41-
For Pharo versions < 3.0, make sure you have the [MetacelloPreview version](https://github.com/dalehenrich/metacello-work), otherwise the load will not work.
42-
43-
Load the latest compatible release:
44-
45-
```Smalltalk
46-
Metacello new
47-
baseline: 'Grease';
48-
githubUser: 'SeasideSt' project: 'Grease' commitish: 'v1.4.1' path: 'repository';
49-
load
50-
```
51-
52-
-or-
53-
54-
Legacy: load older versions from Smalltalkhub:
55-
```Smalltalk
56-
Metacello new
57-
configuration: 'Grease';
58-
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
59-
version: '1.0.0';
60-
load
61-
```
62-
63-
In case you need a specific feature for Pharo 3, it is still possible to create a new release by branching from v1.4.1.
64-
65-
### Squeak and Pharo >=4.0
37+
### Squeak and Pharo (4.0 or newer)
6638

6739
Load the latest code from master (i.e. stable):
6840

@@ -106,3 +78,31 @@ Gofer new
10678
load.
10779
(Smalltalk at: #GsUpgrader) upgradeGrease.
10880
```
81+
82+
### Pharo (3.0 or older)
83+
84+
The compatibility for Pharo < 4.0 is not maintained for new releases. If you need grease in Pharo < 4, we recommend to either update your pharo version or reference the latest release compatible with Pharo < 4, which is currently v1.4.1.
85+
86+
For Pharo versions < 3.0, make sure you have the [MetacelloPreview version](https://github.com/dalehenrich/metacello-work), otherwise the load will not work.
87+
88+
Load the latest compatible release:
89+
90+
```Smalltalk
91+
Metacello new
92+
baseline: 'Grease';
93+
githubUser: 'SeasideSt' project: 'Grease' commitish: 'v1.4.1' path: 'repository';
94+
load
95+
```
96+
97+
-or-
98+
99+
Legacy: load older versions from Smalltalkhub:
100+
```Smalltalk
101+
Metacello new
102+
configuration: 'Grease';
103+
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
104+
version: '1.0.0';
105+
load
106+
```
107+
108+
In case you need a specific feature for Pharo 3, it is still possible to create a new release by branching from v1.4.1.

0 commit comments

Comments
 (0)
X Tutup