Add version to shards.yml in usage

If the version is missed, shards utilite takes the latest
release which can break the build if the user is not ready
to upgrade
This commit is contained in:
Vitalii Elenhaupt 2018-05-14 16:28:46 +03:00
parent 2a4cc56865
commit 319a90d5d7
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706

View file

@ -32,8 +32,7 @@ Run `ameba` binary within your project directory to catch code issues:
$ ameba $ ameba
Inspecting 107 files. Inspecting 107 files.
...............F.....................F............................................... ...............F.....................F....................................................................
.....................
src/ameba/rule/unneeded_disable_directive.cr:29:7 src/ameba/rule/unneeded_disable_directive.cr:29:7
UselessAssign: Useless assignment to variable `s` UselessAssign: Useless assignment to variable `s`
@ -57,6 +56,7 @@ Add this to your application's `shard.yml`:
development_dependencies: development_dependencies:
ameba: ameba:
github: veelenga/ameba github: veelenga/ameba
version: 0.6.0
``` ```
Build `bin/ameba` binary within your project directory while running `shards install`. Build `bin/ameba` binary within your project directory while running `shards install`.