From dba4d0ad2599b90e98205507eae9c862ab5c4749 Mon Sep 17 00:00:00 2001 From: Martin Dias Date: Wed, 25 Sep 2024 18:21:59 -0300 Subject: [PATCH] Baseline: Extract Bloc dependency to separate method --- src/BaselineOfAlbum/BaselineOfAlbum.class.st | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/BaselineOfAlbum/BaselineOfAlbum.class.st b/src/BaselineOfAlbum/BaselineOfAlbum.class.st index 38b2dc2..97305c8 100644 --- a/src/BaselineOfAlbum/BaselineOfAlbum.class.st +++ b/src/BaselineOfAlbum/BaselineOfAlbum.class.st @@ -6,17 +6,11 @@ Class { { #category : #baselines } BaselineOfAlbum >> baseline: spec [ - + 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 ) ]; @@ -24,3 +18,11 @@ BaselineOfAlbum >> baseline: spec [ "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' ] +]