shard.yml
Shards configuration file
| Type | object |
|---|---|
| File match |
shard.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/shard-yml/latest.json |
| Source | https://raw.githubusercontent.com/crystal-lang/shards/master/docs/shard.yml.schema.json |
Validate with Lintel
npx @lintel/lintel check
Metadata for projects managed by Shards
Properties
The name of the project
The version number of the project
A list of authors, along with their contact email
A restriction to indicate what Crystal versions are supported
A list of required dependencies https://github.com/crystal-lang/shards/blob/master/docs/shard.yml.adoc#dependency-attributes
A list of dependencies required to work on the project, but not necessary to build and run the project https://github.com/crystal-lang/shards/blob/master/docs/shard.yml.adoc#dependency-attributes
A single line description of the project
The URL to a website providing the project's documentation for online browsing
A list of executables to be installed
The URL of the project's homepage
A list of shared libraries the shard tries to link to
An SPDX license expression or an URL to a license file.
The URL of the project's canonical repository
Script hooks to run
1 nested properties
Will be run whenever the dependency is installed or upgraded in a project that requires it
A list of targets to build