crystal-lang / shards

Dependency manager for the Crystal language
Other
765 stars 102 forks source link

Reinstall shards not present in info file #399

Closed waj closed 4 years ago

waj commented 4 years ago

Currently when .shards.info file is not present or a shard is not listed, the version from the shards.yml is presumed correct. This is not always right, for example, if the installed version comes from a git ref, or the version field was not correct at all.

With this update, when upgrading from 0.10 to 0.11, all the shards will be reinstalled and the shards.info generated.