Populates Crystal Shard Information.
Constructors
new(name : String, version : SemanticVersion, description : String, license : String)
Sourcenew(name, version, description, license, &)
SourceInstance methods
add_dependency(dependency)
Sourceadd_development_dependency(dependency)
Sourceadd_executable(executable)
Sourceauthors
Developers that made the Shard.
Sourcecrystal_version
Last known Crystal version that is compatible with the Shard.
Sourcecrystal_version=(crystal_version : SemanticVersion)
Last known Crystal version that is compatible with the Shard.
Sourcedependencies
Dependencies the Shard requires to run.
Sourcedescription
Brief description of what the Shard does.
Sourcedescription=(description : String)
Brief description of what the Shard does.
Sourcedevelopment_dependencies
Dependencies the Shard requires for development.
Sourceexecutables
Names of executables the Shard exposes.
Sourcelibraries
Native libraries the Shard depends on.
Sourcelicense=(license : String)
Sourcename
Unique name of the Shard.
Sourcename=(name : String)
Unique name of the Shard.
Sourcescripts
Scripts to run as part of the Shard compilation.
Sourcescripts=(scripts : ShardScripts)
Scripts to run as part of the Shard compilation.
Sourcetargets
Entrypoints for compiling the Shard executables.
Sourceversion
Version number of the Shard.
Sourceversion=(version : SemanticVersion)
Version number of the Shard.
Source