Skip to content

Commit

Permalink
Baseline: Extract declaration of Alexandrie and XMLParser dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Sep 25, 2024
1 parent 85564c3 commit 2541539
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions src/BaselineOfBloc/BaselineOfBloc.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Class {
{ #category : #baselines }
BaselineOfBloc >> baseline: spec [
<baseline>

spec
for: #common
do: [

"Bloc-Display"
spec
package: 'Bloc-Display';
Expand Down Expand Up @@ -78,9 +78,7 @@ BaselineOfBloc >> baseline: spec [
spec requires: #('Bloc-Text') ].

"Alexandrie canvas"
spec
baseline: 'Alexandrie' with: [
spec repository: 'github://pharo-graphics/Alexandrie:master/src' ].
self declareAlexandrieOn: spec.
spec
package: #'Bloc-Alexandrie' with: [
spec requires: #('Alexandrie' 'Bloc' 'Bloc-Text' 'Bloc-Infinite' ) ];
Expand Down Expand Up @@ -144,11 +142,8 @@ BaselineOfBloc >> baseline: spec [
spec requires: #(#'Bloc-Layout' #'Bloc-Spec2' #'Bloc-Text-Elements') ].

"SVG"
spec
baseline: 'XMLParser' with: [
spec
repository: 'github://pharo-contributions/XML-XMLParser:master/src';
loads: #(Core) ];
self declareXMLParserOn: spec.
spec
package: #'Bloc-SVG' with: [
spec requires: #(#'Bloc' #'XMLParser') ];
package: #'Bloc-SVG-Tests' with: [
Expand All @@ -158,3 +153,19 @@ BaselineOfBloc >> baseline: spec [

]
]

{ #category : #baselines }
BaselineOfBloc >> declareAlexandrieOn: spec [

spec baseline: 'Alexandrie' with: [
spec repository: 'github://pharo-graphics/Alexandrie:master/src' ]
]

{ #category : #baselines }
BaselineOfBloc >> declareXMLParserOn: spec [

spec baseline: 'XMLParser' with: [
spec
repository: 'github://pharo-contributions/XML-XMLParser:master/src';
loads: #( Core ) ]
]

0 comments on commit 2541539

Please sign in to comment.