2018-10-03 11:55:28 +01:00
|
|
|
# shards
|
|
|
|
|
|
|
|
> Dependency management tool for the Crystal language.
|
2019-05-23 11:56:50 +01:00
|
|
|
> More information: <https://crystal-lang.org/reference/the_shards_command>.
|
2018-10-03 11:55:28 +01:00
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Create a skeleton `shard.yml` file:
|
2018-10-03 11:55:28 +01:00
|
|
|
|
|
|
|
`shards init`
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Install dependencies from a `shard.yml` file:
|
2018-10-03 11:55:28 +01:00
|
|
|
|
|
|
|
`shards install`
|
|
|
|
|
|
|
|
- Update all dependencies:
|
|
|
|
|
|
|
|
`shards update`
|
|
|
|
|
|
|
|
- List all installed dependencies:
|
|
|
|
|
|
|
|
`shards list`
|
|
|
|
|
|
|
|
- List version of dependency:
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`shards version {{path/to/dependency_directory}}`
|