Open schomatis opened 6 years ago
I think there are many commands that would benefit from implicitly fetching deps as needed. Or at the very least, saying 'you have to run gx install first'
implicitly fetching deps as needed
Yes gx-workspace is doing that a lot too.
The
gx update
command expects to find the old package being replaced already installed, otherwise it fails (it doesn't try to install itself), specifically theupdateCollisionCheck
function is the one looking for all the dependencies.See https://github.com/ipfs/go-ds-badger/pull/22#issuecomment-396592368.