File tree Expand file tree Collapse file tree
repository/BaselineOfZincHTTPComponents.package/BaselineOfZincHTTPComponents.class/instance Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11SmalltalkCISpec {
22 #loading : [
3- SCIMetacelloLoadSpec {
4- #baseline : ' Zodiac' ,
5- #repository: ' github://svenvc/zodiac/repository' ,
6- #ignoreImage : true ,
7- #platforms : [ #pharo ]
8- },
93 SCIMetacelloLoadSpec {
104 #baseline : ' ZincHTTPComponents' ,
115 #directory: ' repository' ,
12- #ignoreImage : true ,
136 #platforms : [ #pharo ]
147 }
158 ]
Original file line number Diff line number Diff line change 11baselines
22baseline: spec
33 < baseline>
4+ self unloadBaselineOfZodiac.
45 spec for: #common do: [
56 spec
67 baseline: ' Zodiac' with: [ spec repository: ' github://svenvc/zodiac:master/repository' ];
Original file line number Diff line number Diff line change 1+ baselines
2+ projectClass
3+
4+ ^ MetacelloCypressBaselineProject
Original file line number Diff line number Diff line change 1+ doits
2+ unloadBaselineOfZodiac
3+ " Newer Pharo versions includes an erroneous BaselineOfZodiac that breaks Zinc loading.
4+ So, we remove this baseline to not take precedence over the one that Zinc will load and
5+ avoiding magic tricks in the dependent projects.
6+ Side note:
7+ In Pharo 7 `MCWorkingCopy>>hasPackageNamed:` returns the class instead of a
8+ boolean 🤦"
9+ (((MCWorkingCopy hasPackageNamed: ' BaselineOfZodiac' ) == true )
10+ and : [ MCWorkingCopy respondsTo: #forPackageNamed: ])
11+ ifTrue: [ (MCWorkingCopy forPackageNamed: ' BaselineOfZodiac' ) unload ]
You can’t perform that action at this time.
0 commit comments