Baselines Depending on Baselines in Same Repo

1 view
Skip to first unread message

Sean DeNigris

unread,
Aug 22, 2018, 10:28:47 PM8/22/18
to Metacello
I was hoping to simplify a baseline to the following:
BaselineOfPetitParser2>>#baseline: spec
 
<baseline>

 
spec for: #'common' do: [
spec baseline: 'PetitParser2Core'.
  spec baseline: 'PetitParser2Languages'.
 ]

Where PetitParser2Languages and PetitParser2Core are in the same repo as BaselineOfPetitParser2, but I'm getting "Could not resolve: BaselineOfPetitParser2Languages". However the following works:

BaselineOfPetitParser2>>#baseline: spec
 
<baseline>

 
spec for: #'common' do: [
  spec blessing: #'baseline'.
spec description: 'PetitParser2'.
spec repository: 'gizhub://kursjan/petitparser2:master'.
spec baseline: 'PetitParser2Core' with: [
spec repository: 'github://kursjan/petitparser2:master' ].
spec baseline: 'PetitParser2Languages' with: [
spec repository: 'github://kursjan/petitparser2:master' ].
spec baseline: 'PetitParser2Core'.
spec baseline: 'PetitParser2Languages'.
 ]


I thought #repository: is not needed with baselines (it's not generally provided for packages, which still load fine). I'd rather not explicitly provide the repo because I may be loading from my fork, not the upstream.

Reply all
Reply to author
Forward
0 new messages