class

OpenGLBindingGenerator::ShardBuilder

Inherits Reference < Object

Populates Crystal Shard Information.

Constructors

new(name : String, version : SemanticVersion, description : String, license : String)
Source
new(name, version, description, license, &)
Source

Instance methods

add_author(author)
Source
add_dependency(dependency)
Source
add_development_dependency(dependency)
Source
add_executable(executable)
Source
add_library(library)
Source
add_target(target)
Source
authors

Developers that made the Shard.

Source
build
Source
crystal_version

Last known Crystal version that is compatible with the Shard.

Source
crystal_version=(crystal_version : SemanticVersion)

Last known Crystal version that is compatible with the Shard.

Source
dependencies

Dependencies the Shard requires to run.

Source
description

Brief description of what the Shard does.

Source
description=(description : String)

Brief description of what the Shard does.

Source
development_dependencies

Dependencies the Shard requires for development.

Source
executables

Names of executables the Shard exposes.

Source
libraries

Native libraries the Shard depends on.

Source
license

OSI license string.

Source
license=(license : String)

OSI license string.

Source
name

Unique name of the Shard.

Source
name=(name : String)

Unique name of the Shard.

Source
scripts

Scripts to run as part of the Shard compilation.

Source
scripts=(scripts : ShardScripts)

Scripts to run as part of the Shard compilation.

Source
targets

Entrypoints for compiling the Shard executables.

Source
version

Version number of the Shard.

Source
version=(version : SemanticVersion)

Version number of the Shard.

Source