2018-10-03 19:55:28 +09: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 19:55:28 +09:00
|
|
|
|
2021-01-31 14:05:18 -03:00
|
|
|
- Create a skeleton `shard.yml` file:
|
2018-10-03 19:55:28 +09:00
|
|
|
|
|
|
|
`shards init`
|
|
|
|
|
2021-01-31 14:05:18 -03:00
|
|
|
- Install dependencies from a `shard.yml` file:
|
2018-10-03 19:55:28 +09:00
|
|
|
|
|
|
|
`shards install`
|
|
|
|
|
|
|
|
- Update all dependencies:
|
|
|
|
|
|
|
|
`shards update`
|
|
|
|
|
|
|
|
- List all installed dependencies:
|
|
|
|
|
|
|
|
`shards list`
|
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display version of dependency:
|
2018-10-03 19:55:28 +09:00
|
|
|
|
2019-02-11 19:00:49 +01:00
|
|
|
`shards version {{path/to/dependency_directory}}`
|