Hello!

I'd like to ask what is the equivalent of devDependencies (dependencies to be loaded only when developing, but not when in profuction / used as a dependency) of a baseline.

My baseline method looks like:

baseline: spec
   <baseline>
        spec for: #common do: [
spec package: 'Towergame' with: [ spec requires: 'GarageGlorp'; requires: 'NeoJSON' ].
                spec project: 'GarageGlorp' with: [
                        spec
                                className: 'ConfigurationOfGarageGlorp';
                                version: #stable;
repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main' ].
                spec project: 'NeoJSON' with: [
                        spec
                                className: 'ConfigurationOfNeoJSON';
                                version: #stable;
repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main' ].
                spec
                        baseline: 'Mocketry'
                        with: [ spec repository: 
'github://dionisiydk/Mocketry:v4.0.x' ]
        ]

and I want to have Mocketry as dev-only dependency. How to write it and how to load it with dev / without dev dependencies? Atm I load it this way:

Metacello new baseline: 'Towergame'; repository: 'gitlocal:///', (hereRef / 'src') fullName; load.

where hereRef is file reference to project dir.

Thanks, Herby

Reply via email to