In order to include RenoirSt as part of your project, you should reference the package in your product baseline:
-
Define the RenoirSt repository and version to be used, and the baseline groups you want to depend on (usually it will be
Deployment
).If you're unsure on what to depend use the Dependency Analyzer tool to choose an appropriate group including the packages you need.
-
Create a method like this one in the baseline class of your product:
setUpDependencies: spec spec baseline: 'RenoirSt' with: [ spec repository: 'github://github://ba-st/RenoirSt:v{XX}' ]; project: 'RenoirSt-Deployment' copyFrom: 'RenoirSt' with: [ spec loads: 'Deployment' ]
This will create
RenoirSt-Deployment
as a valid target that can be used as requirement in your own packages.Replace
{XX}
with the version you want to depend on -
Use the new loading target as a requirement on your packages. For example:
baseline: spec <baseline> spec for: #pharo do: [ self setUpDependencies: spec. spec package: 'My-Package' with: [ spec requires: #('RenoirSt-Deployment') ] ]