Hi,
I'm trying to define a dependency on a group of BaselineOf.
specifically #core of github://pharo-graphics/Bloc/src.
which recommends using import:provides:
baseline: spec
<baseline>
spec for: #common do: [
"Sample defines the group 'default'"
spec baseline: 'Sample' with: [
spec repository: 'github://dalehenrich/Sample:master' ].
spec import: 'Sample' provides: #('default').
"OtherSample *also* defines the group 'default'"
spec baseline: 'OtherSample' with: [
spec repository: 'github://dalehenrich/Sample:master' ].
spec import: 'OtherSample' provides: #('default').
"'default' can now be successfully resolved, even though
both projects define the same name"
spec package: 'OtherProject-Core with: [
spec requires: 'default' ] ].
However this code is confusing... both Sample & OtherSample provide `default`, so on what does `OtherProject-Core` actually depend?
Also, can it be unified with the way ConfigurationOf works?
Thanks,
Peter