Baselines Depending on Baselines in Same Repo

Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Baselines Depending on Baselines in Same Repo

Sean DeNigris
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.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.