Skip to content

Commit

Permalink
Baseline: Extract Bloc dependency to separate method
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Sep 25, 2024
1 parent ebb0411 commit dba4d0a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/BaselineOfAlbum/BaselineOfAlbum.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ Class {

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

<baseline>

spec for: #common do: [
spec
baseline: 'Bloc'
with: [ spec repository: 'github://pharo-graphics/Bloc:master/src' ].
self declareBlocOn: spec.

" spec
baseline: 'Alexandrie'
with: [ spec repository: 'github://pharo-graphics/Alexandrie:master/src' ].
"
spec
package: #Album with: [ spec requires: #( #Bloc ) ];
package: #'Album-Tests' with: [ spec requires: #( #Album ) ];
package: #'Album-Examples' with: [ spec requires: #( #'Album-Tests' ) ];
"package: #'Album-Brick-NU' with: [ spec requires: #( #Bloc ) ];"
package: #'Album-Alexandrie' with: [ spec requires: #( #'Album-Examples' ) ] ]
]

{ #category : #baselines }
BaselineOfAlbum >> declareBlocOn: spec [

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

0 comments on commit dba4d0a

Please sign in to comment.