Skip to content

Commit a7c9172

Browse files
authored
Merge pull request #29 from JanBliznicenko/spec2
allow loading GTExtensions on Pharo8-
2 parents a610e6f + 0bb2708 commit a7c9172

File tree

1 file changed

+38
-25
lines changed

1 file changed

+38
-25
lines changed

src/BaselineOfXMLParser/BaselineOfXMLParser.class.st

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,45 @@ Class {
99

1010
{ #category : #baselines }
1111
BaselineOfXMLParser >> baseline: spec [
12+
1213
<baseline>
13-
14-
spec
15-
for: #common
16-
do: [
17-
18-
self
19-
bitmapCharacterSetOn: spec;
20-
orderPreservingDictionaryOn: spec;
21-
xmlWriterOn: spec.
22-
23-
"Packages"
24-
spec
25-
package: 'XML-Parser' with: [ spec requires: #('OrderPreservingDictionary' 'BitmapCharacterSet') ];
26-
package: 'XML-Parser-Tests' with: [ spec requires: #('XML-Parser' 'OrderPreservingDictionary Tests' 'BitmapCharacterSet Tests') ];
27-
package: 'XML-Parser-Tests-Conformance' with: [ spec requires: #('XML-Parser' 'XMLWriter Tests' 'XML-Parser-Tests') ];
28-
package: 'XML-Parser-Tools' with: [ spec requires: #('XML-Parser') ].
29-
30-
"Groups"
14+
spec for: #common do: [
15+
self
16+
bitmapCharacterSetOn: spec;
17+
orderPreservingDictionaryOn: spec;
18+
xmlWriterOn: spec.
19+
20+
"Packages"
21+
spec
22+
package: 'XML-Parser' with: [
23+
spec requires:
24+
#( 'OrderPreservingDictionary' 'BitmapCharacterSet' ) ];
25+
package: 'XML-Parser-Tests' with: [
26+
spec requires: #( 'XML-Parser' 'OrderPreservingDictionary Tests'
27+
'BitmapCharacterSet Tests' ) ];
28+
package: 'XML-Parser-Tests-Conformance' with: [
29+
spec requires:
30+
#( 'XML-Parser' 'XMLWriter Tests' 'XML-Parser-Tests' ) ];
31+
package: 'XML-Parser-Tools'
32+
with: [ spec requires: #( 'XMLWriter Tools' 'XML-Parser' ) ].
33+
34+
"Core group"
35+
spec group: 'Core' with: #( 'XML-Parser' ).
36+
37+
"Tools group"
38+
spec group: 'Tools' with: #( 'XML-Parser-Tools' ).
39+
spec for: #( #'pharo8.x' #'pharo7.x' #'pharo6.x' ) do: [
3140
spec
32-
group: 'Core' with: #('XML-Parser');
33-
group: 'Tools' with: #('OrderPreservingDictionary Tools' 'XMLWriter Tools' 'XML-Parser-Tools');
34-
group: 'Tests' with: #('XML-Parser-Tests' 'XML-Parser-Tests-Conformance');
35-
group: 'all' with: #('Core' 'Tools' 'Tests');
36-
group: 'default' with: #('all')
37-
]
41+
package: 'XML-Parser-GTExtensions'
42+
with: [ spec requires: #( 'XMLWriter Tools' 'XML-Parser' ) ];
43+
group: 'Tools' with: #( 'XML-Parser-GTExtensions' ) ].
44+
45+
"Other groups"
46+
spec
47+
group: 'Tests'
48+
with: #( 'XML-Parser-Tests' 'XML-Parser-Tests-Conformance' );
49+
group: 'all' with: #( 'Core' 'Tools' 'Tests' );
50+
group: 'default' with: #( 'all' ) ]
3851
]
3952

4053
{ #category : #prerequisites }
@@ -75,7 +88,7 @@ BaselineOfXMLParser >> xmlWriterOn: spec [
7588
with: [
7689
spec
7790
loads: #('Core');
78-
repository: 'github://pharo-contributions/XML-XMLWriter:v3.1.0/src' ].
91+
repository: 'github://pharo-contributions/XML-XMLWriter:v3.1.1/src' ].
7992

8093
spec
8194
project: 'XMLWriter Tests' copyFrom: 'XMLWriter' with: [ spec loads: #('Tests') ];

0 commit comments

Comments
 (0)