Hi Hernan - that is close to what I want, and looks useful for something else I need to do - but in this case I literally just wanted to download a git repo dependency (not a zip) like already happens with metacello - but because it doesn’t have a baseline class in the repo (in fact its just js files), I don’t want metacello to try and interpret it - just continue. I think there might be a simple way to convince metcello to do this - if not, then maybe your example might give me the basics to build something custom.
Thanks for piping up. Tim > On 26 Jan 2021, at 23:10, Hernán Morales Durand <hernan.mora...@gmail.com> > wrote: > > You mean something like this? > > https://github.com/hernanmd/MetacelloFileDownload > <https://github.com/hernanmd/MetacelloFileDownload> > > > El mar, 26 ene 2021 a las 23:57, Tim Mackinnon (<tim@testit.works>) escribió: > Hi - I’m trying to create a baseline for my project so that it includes a > dependent repository that has some assts but no code. Is there a way to do > this in Metacello - I have a baseline dependencies like the following - and > its the last line that fails as it not really a repo with a baseline in it - > so Metacello signals an error - but I’m wondering if there is something I can > do to just load that repo without considering it as a baseline - I’m after > something like: > > spec resources: 'CP-ClientEnvironment' with: [ spec > repository: > 'github://ErikOnBike/CP-ClientEnvironment' ]. > > > This is what I have to give an idea - possibly I could catch the exception > and resume - or is there some cunning way (maybe even a post load script or > something)? > > setUpDependencies: spec > > spec > baseline: 'ZincHTTPComponents' with: [ spec > repository: 'github://svenvc/zinc'; > loads: #('Core' 'WebSocket') ]. > > spec > baseline: 'CodeParadise' with: [ spec > repository: > 'github://ErikOnBike/CodeParadise/repository' ]. > > spec > baseline: 'CP-ClientEnvironment' with: [ spec > repository: > 'github://ErikOnBike/CP-ClientEnvironment' ]. > > > > > Tim >