X Tutup
Skip to content

Commit a508114

Browse files
author
Johan Brichau
committed
Restructure BaselineOfGrease into separate methods per platform
1 parent 7b17e61 commit a508114

File tree

7 files changed

+244
-241
lines changed

7 files changed

+244
-241
lines changed
Lines changed: 5 additions & 223 deletions
Original file line numberDiff line numberDiff line change
@@ -1,226 +1,8 @@
11
baseline
22
baseline: spec
3-
<baseline>
4-
spec
5-
for: #'common'
6-
do: [
7-
spec blessing: #'baseline'.
8-
spec
9-
package: 'Grease-Core';
10-
package: 'Grease-Tests-Core' with: [ spec requires: #('Grease-Core') ].
11-
spec
12-
group: 'Core' with: #('Grease-Core');
13-
group: 'Core Tests' with: #('Grease-Tests-Core');
14-
group: 'Slime' with: #('Core');
15-
group: 'Slime Tests' with: #('Core Tests');
16-
group: 'Tests' with: #('Core Tests' 'Slime Tests');
17-
group: 'default' with: #('Slime') ].
18-
spec
19-
for: #( #'squeak5.x' )
20-
do: [
21-
spec
22-
project: 'Refactoring-Core'
23-
with: [
24-
spec
25-
className: 'ConfigurationOfRefactoringBrowser';
26-
versionString: #'stable';
27-
loads: #('Core');
28-
repository: 'http://www.squeaksource.com/MetacelloRepository' ].
29-
spec
30-
package: 'Grease-Core'
31-
with: [ spec includes: #('Grease-Squeak5-Core') ];
32-
package: 'Grease-Tests-Core'
33-
with: [
34-
spec
35-
requires: #('Grease-Squeak5-Core');
36-
includes:
37-
#('Grease-Tests-Squeak-Core' 'Grease-Tests-Squeak5-Core') ];
38-
package: 'Grease-Squeak5-Core'
39-
with: [ spec requires: #('Grease-Core') ];
40-
package: 'Grease-Tests-Squeak-Core'
41-
with: [ spec requires: #('Grease-Tests-Core') ];
42-
package: 'Grease-Tests-Squeak5-Core'
43-
with: [ spec requires: #('Grease-Tests-Squeak-Core') ];
44-
package: 'Grease-Slime'
45-
with: [ spec requires: #('Refactoring-Core' 'Grease-Core') ];
46-
package: 'Grease-Tests-Slime'
47-
with: [ spec requires: #('Grease-Slime') ].
48-
spec
49-
group: 'Slime' with: #('Grease-Slime');
50-
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].
51-
spec
52-
for: #( #'squeak6.x' )
53-
do: [
54-
spec
55-
package: 'Grease-Core'
56-
with: [ spec includes: #('Grease-Squeak6-Core') ];
57-
package: 'Grease-Tests-Core'
58-
with: [ spec requires: #('Grease-Squeak6-Core'); includes: #('Grease-Tests-Squeak-Core' 'Grease-Tests-Squeak6-Core') ];
59-
package: 'Grease-Squeak6-Core'
60-
with: [ spec requires: #('Grease-Core') ];
61-
package: 'Grease-Tests-Squeak-Core'
62-
with: [ spec requires: #('Grease-Tests-Core') ];
63-
package: 'Grease-Tests-Squeak6-Core'
64-
with: [ spec requires: #('Grease-Tests-Squeak-Core') ].
65-
self slimeForSqueakPharo1xPharo2x: spec ].
3+
<baseline>
664

67-
spec
68-
for: #(#'pharo4.x' #'pharo5.x')
69-
do: [
70-
spec
71-
package: 'Grease-Core'
72-
with: [ spec includes: #('Grease-Pharo30-Core') ];
73-
package: 'Grease-Tests-Core'
74-
with: [
75-
spec
76-
requires: #('Grease-Pharo30-Core');
77-
includes: #('Grease-Tests-Pharo-Core') ];
78-
package: 'Grease-Pharo30-Core'
79-
with: [ spec requires: #('Grease-Core') ];
80-
package: 'Grease-Tests-Pharo-Core'
81-
with: [ spec requires: #('Grease-Tests-Core') ];
82-
package: 'Grease-Pharo40-Slime'
83-
with: [ spec requires: #('Grease-Core') ];
84-
package: 'Grease-Tests-Slime'
85-
with: [ spec requires: #('Grease-Pharo40-Slime') ].
86-
spec
87-
group: 'Slime' with: #('Grease-Pharo40-Slime');
88-
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].
89-
spec
90-
for: #'pharo6.x'
91-
do: [
92-
spec
93-
package: 'Grease-Core'
94-
with: [ spec includes: #('Grease-Pharo60-Core') ];
95-
package: 'Grease-Tests-Core'
96-
with: [
97-
spec
98-
requires: #('Grease-Pharo60-Core');
99-
includes: #('Grease-Tests-Pharo-Core') ];
100-
package: 'Grease-Pharo60-Core'
101-
with: [ spec requires: #('Grease-Core') ];
102-
package: 'Grease-Tests-Pharo-Core'
103-
with: [ spec requires: #('Grease-Tests-Core') ];
104-
package: 'Grease-Pharo40-Slime'
105-
with: [ spec requires: #('Grease-Core') ];
106-
package: 'Grease-Tests-Slime'
107-
with: [ spec requires: #('Grease-Pharo40-Slime') ].
108-
spec
109-
group: 'Slime' with: #('Grease-Pharo40-Slime');
110-
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].
111-
112-
spec
113-
for: #(#'pharo7.x')
114-
do: [
115-
spec
116-
package: 'Grease-Core'
117-
with: [ spec includes: #('Grease-Pharo70-Core') ];
118-
package: 'Grease-Tests-Core'
119-
with: [ spec requires: #('Grease-Pharo70-Core'); includes: #('Grease-Tests-Pharo-Core') ];
120-
package: 'Grease-Pharo70-Core'
121-
with: [ spec requires: #('Grease-Core') ];
122-
package: 'Grease-Tests-Pharo-Core'
123-
with: [ spec requires: #('Grease-Tests-Core') ];
124-
package: 'Grease-Pharo40-Slime'
125-
with: [ spec requires: #('Grease-Core') ];
126-
package: 'Grease-Tests-Slime'
127-
with: [ spec requires: #('Grease-Pharo40-Slime') ].
128-
spec
129-
group: 'Slime' with: #('Grease-Pharo40-Slime');
130-
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].
131-
132-
spec
133-
for: #'gemstone'
134-
do: [
135-
spec
136-
project: 'GsCore'
137-
with: [
138-
spec
139-
className: 'ConfigurationOfGsCore';
140-
versionString: #'stable';
141-
repository:
142-
'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ];
143-
project: 'UTF8'
144-
with: [
145-
spec
146-
className: 'ConfigurationOfGsMisc';
147-
versionString: #'stable';
148-
loads: #('Utf8Encoding');
149-
repository:
150-
'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ];
151-
project: 'System-Digital-Signatures'
152-
copyFrom: 'UTF8'
153-
with: [ spec loads: #('System-Digital-Signatures') ];
154-
project: 'SMTPMail'
155-
copyFrom: 'UTF8'
156-
with: [ spec loads: #('SMTPMail') ].
157-
spec
158-
package: 'Grease-Core'
159-
with: [
160-
spec
161-
requires: #('GsCore');
162-
includes: #('Grease-GemStone-Core') ];
163-
package: 'Grease-Tests-Core'
164-
with: [
165-
spec
166-
requires: #('Grease-GemStone-Core');
167-
includes: #('Grease-Tests-GemStone-Core') ];
168-
package: 'Grease-GemStone-Core'
169-
with: [
170-
spec
171-
requires:
172-
#('Grease-Core' 'GsCore' 'System-Digital-Signatures' 'UTF8' 'SMTPMail') ];
173-
package: 'Grease-Tests-GemStone-Core'
174-
with: [ spec requires: #('Grease-Tests-Core') ] ].
175-
spec
176-
for: #'gs2.x'
177-
do: [
178-
spec
179-
package: 'Grease-GemStone-Core'
180-
with: [ spec includes: #('Grease-GemStone200-Core') ];
181-
package: 'Grease-GemStone200-Core'
182-
with: [ spec requires: #('Grease-GemStone-Core') ] ].
183-
spec
184-
for: #'gs2.3.x'
185-
do: [
186-
spec
187-
package: 'Grease-GemStone-Core'
188-
with: [ spec includes: #('Grease-GemStone230-Core') ];
189-
package: 'Grease-GemStone230-Core'
190-
with: [ spec requires: #('Grease-GemStone-Core') ] ].
191-
spec
192-
for: #'gs2.4.x'
193-
do: [
194-
spec
195-
package: 'Grease-GemStone-Core'
196-
with: [ spec includes: #('Grease-GemStone240-Core') ];
197-
package: 'Grease-GemStone240-Core'
198-
with: [ spec requires: #('Grease-GemStone-Core') ] ].
199-
spec
200-
for: #(#'gs3.0.x' #'gs3.1.x' #'gs3.2.x')
201-
do: [
202-
spec
203-
package: 'Grease-GemStone-Core'
204-
with: [ spec includes: #('Grease-GemStone300-Core') ];
205-
package: 'Grease-GemStone300-Core'
206-
with: [
207-
spec
208-
requires: #('Grease-GemStone-Core');
209-
postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ].
210-
spec
211-
for: #(#'gs3.3.x' #'gs3.4.x')
212-
do: [
213-
spec
214-
package: 'Grease-GemStone-Core'
215-
with: [ spec includes: #('Grease-GemStone330-Core') ];
216-
package: 'Grease-GemStone330-Core'
217-
with: [
218-
spec
219-
requires: #('Grease-GemStone-Core');
220-
postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ].
221-
spec
222-
for: #(#'gs3.2.x' #'gs3.3.x' #'gs3.4.x')
223-
do: [
224-
spec
225-
package: 'Grease-Tests-GemStone-Core'
226-
with: [ spec file: 'Grease-Tests-GemStone-Core.v32' ] ]
5+
self baselineCommon: spec.
6+
self baselineSqueak: spec.
7+
self baselinePharo: spec.
8+
self baselineGemStone: spec
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
baseline
2+
baselineCommon: spec
3+
spec
4+
for: #common
5+
do: [ spec blessing: #baseline.
6+
spec
7+
package: 'Grease-Core';
8+
package: 'Grease-Tests-Core'
9+
with: [ spec requires: #('Grease-Core') ].
10+
spec
11+
group: 'Core' with: #('Grease-Core');
12+
group: 'Core Tests' with: #('Grease-Tests-Core');
13+
group: 'Slime' with: #('Core');
14+
group: 'Slime Tests' with: #('Core Tests');
15+
group: 'Tests' with: #('Core Tests' 'Slime Tests');
16+
group: 'default' with: #('Slime') ]
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
baseline
2+
baselineGemStone: spec
3+
spec
4+
for: #'gemstone'
5+
do: [
6+
spec
7+
project: 'GsCore'
8+
with: [
9+
spec
10+
className: 'ConfigurationOfGsCore';
11+
versionString: #'stable';
12+
repository:
13+
'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ];
14+
project: 'UTF8'
15+
with: [
16+
spec
17+
className: 'ConfigurationOfGsMisc';
18+
versionString: #'stable';
19+
loads: #('Utf8Encoding');
20+
repository:
21+
'http://seaside.gemtalksystems.com/ss/MetacelloRepository' ];
22+
project: 'System-Digital-Signatures'
23+
copyFrom: 'UTF8'
24+
with: [ spec loads: #('System-Digital-Signatures') ];
25+
project: 'SMTPMail'
26+
copyFrom: 'UTF8'
27+
with: [ spec loads: #('SMTPMail') ].
28+
spec
29+
package: 'Grease-Core'
30+
with: [
31+
spec
32+
requires: #('GsCore');
33+
includes: #('Grease-GemStone-Core') ];
34+
package: 'Grease-Tests-Core'
35+
with: [
36+
spec
37+
requires: #('Grease-GemStone-Core');
38+
includes: #('Grease-Tests-GemStone-Core') ];
39+
package: 'Grease-GemStone-Core'
40+
with: [
41+
spec
42+
requires:
43+
#('Grease-Core' 'GsCore' 'System-Digital-Signatures' 'UTF8' 'SMTPMail') ];
44+
package: 'Grease-Tests-GemStone-Core'
45+
with: [ spec requires: #('Grease-Tests-Core') ] ].
46+
spec
47+
for: #'gs2.x'
48+
do: [
49+
spec
50+
package: 'Grease-GemStone-Core'
51+
with: [ spec includes: #('Grease-GemStone200-Core') ];
52+
package: 'Grease-GemStone200-Core'
53+
with: [ spec requires: #('Grease-GemStone-Core') ] ].
54+
spec
55+
for: #'gs2.3.x'
56+
do: [
57+
spec
58+
package: 'Grease-GemStone-Core'
59+
with: [ spec includes: #('Grease-GemStone230-Core') ];
60+
package: 'Grease-GemStone230-Core'
61+
with: [ spec requires: #('Grease-GemStone-Core') ] ].
62+
spec
63+
for: #'gs2.4.x'
64+
do: [
65+
spec
66+
package: 'Grease-GemStone-Core'
67+
with: [ spec includes: #('Grease-GemStone240-Core') ];
68+
package: 'Grease-GemStone240-Core'
69+
with: [ spec requires: #('Grease-GemStone-Core') ] ].
70+
spec
71+
for: #(#'gs3.0.x' #'gs3.1.x' #'gs3.2.x')
72+
do: [
73+
spec
74+
package: 'Grease-GemStone-Core'
75+
with: [ spec includes: #('Grease-GemStone300-Core') ];
76+
package: 'Grease-GemStone300-Core'
77+
with: [
78+
spec
79+
requires: #('Grease-GemStone-Core');
80+
postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ].
81+
spec
82+
for: #(#'gs3.3.x' #'gs3.4.x')
83+
do: [
84+
spec
85+
package: 'Grease-GemStone-Core'
86+
with: [ spec includes: #('Grease-GemStone330-Core') ];
87+
package: 'Grease-GemStone330-Core'
88+
with: [
89+
spec
90+
requires: #('Grease-GemStone-Core');
91+
postLoadDoIt: #'initializeLatin1ToUtf8Encodings' ] ].
92+
spec
93+
for: #(#'gs3.2.x' #'gs3.3.x' #'gs3.4.x')
94+
do: [
95+
spec
96+
package: 'Grease-Tests-GemStone-Core'
97+
with: [ spec file: 'Grease-Tests-GemStone-Core.v32' ] ]

0 commit comments

Comments
 (0)
X Tutup