Closed lbarasti closed 5 years ago
shards install
crystal deps
OptionParser.parse
OptionParser.parse!
crystal
crystal build src/guardian.cr --release
guardian
guardian --init
Summary of the changes
shards install
rather thancrystal deps
- the latter was removed a few versions agoOptionParser.parse
rather thanOptionParser.parse!
, as the latter has been deprecated and throws a warning at compile timecrystal
field in shard.yml to indicate "the last known Crystal version that is capable to compile the Shard", as per the shards specTesting
crystal build src/guardian.cr --release
guardian
on a crystal project and verified thatguardian --init
produces the expected output.