Skip to content

Commit

Permalink
Merge pull request #29 from JanBliznicenko/spec2
Browse files Browse the repository at this point in the history
allow loading GTExtensions on Pharo8-
  • Loading branch information
astares authored Nov 17, 2023
2 parents a610e6f + 0bb2708 commit a7c9172
Showing 1 changed file with 38 additions and 25 deletions.
63 changes: 38 additions & 25 deletions src/BaselineOfXMLParser/BaselineOfXMLParser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,45 @@ Class {

{ #category : #baselines }
BaselineOfXMLParser >> baseline: spec [

<baseline>

spec
for: #common
do: [

self
bitmapCharacterSetOn: spec;
orderPreservingDictionaryOn: spec;
xmlWriterOn: spec.

"Packages"
spec
package: 'XML-Parser' with: [ spec requires: #('OrderPreservingDictionary' 'BitmapCharacterSet') ];
package: 'XML-Parser-Tests' with: [ spec requires: #('XML-Parser' 'OrderPreservingDictionary Tests' 'BitmapCharacterSet Tests') ];
package: 'XML-Parser-Tests-Conformance' with: [ spec requires: #('XML-Parser' 'XMLWriter Tests' 'XML-Parser-Tests') ];
package: 'XML-Parser-Tools' with: [ spec requires: #('XML-Parser') ].

"Groups"
spec for: #common do: [
self
bitmapCharacterSetOn: spec;
orderPreservingDictionaryOn: spec;
xmlWriterOn: spec.

"Packages"
spec
package: 'XML-Parser' with: [
spec requires:
#( 'OrderPreservingDictionary' 'BitmapCharacterSet' ) ];
package: 'XML-Parser-Tests' with: [
spec requires: #( 'XML-Parser' 'OrderPreservingDictionary Tests'
'BitmapCharacterSet Tests' ) ];
package: 'XML-Parser-Tests-Conformance' with: [
spec requires:
#( 'XML-Parser' 'XMLWriter Tests' 'XML-Parser-Tests' ) ];
package: 'XML-Parser-Tools'
with: [ spec requires: #( 'XMLWriter Tools' 'XML-Parser' ) ].

"Core group"
spec group: 'Core' with: #( 'XML-Parser' ).

"Tools group"
spec group: 'Tools' with: #( 'XML-Parser-Tools' ).
spec for: #( #'pharo8.x' #'pharo7.x' #'pharo6.x' ) do: [
spec
group: 'Core' with: #('XML-Parser');
group: 'Tools' with: #('OrderPreservingDictionary Tools' 'XMLWriter Tools' 'XML-Parser-Tools');
group: 'Tests' with: #('XML-Parser-Tests' 'XML-Parser-Tests-Conformance');
group: 'all' with: #('Core' 'Tools' 'Tests');
group: 'default' with: #('all')
]
package: 'XML-Parser-GTExtensions'
with: [ spec requires: #( 'XMLWriter Tools' 'XML-Parser' ) ];
group: 'Tools' with: #( 'XML-Parser-GTExtensions' ) ].

"Other groups"
spec
group: 'Tests'
with: #( 'XML-Parser-Tests' 'XML-Parser-Tests-Conformance' );
group: 'all' with: #( 'Core' 'Tools' 'Tests' );
group: 'default' with: #( 'all' ) ]
]

{ #category : #prerequisites }
Expand Down Expand Up @@ -75,7 +88,7 @@ BaselineOfXMLParser >> xmlWriterOn: spec [
with: [
spec
loads: #('Core');
repository: 'github://pharo-contributions/XML-XMLWriter:v3.1.0/src' ].
repository: 'github://pharo-contributions/XML-XMLWriter:v3.1.1/src' ].

spec
project: 'XMLWriter Tests' copyFrom: 'XMLWriter' with: [ spec loads: #('Tests') ];
Expand Down

0 comments on commit a7c9172

Please sign in to comment.