The crystal
plugin is useful for parts using the Crystal programming language with the Crystal snap. This plugin uses the common plugin keywords as well as those for sources. For more information, see Snapcraft parts metadata.
Plugin-specific features and syntax are dependent on which base is being used, as outlined below:
For examples, search GitHub for projects already using the plugin.
Brian J. Cardiff, one of Crystal’s developers, attended the 2019 Snapcraft Summit Montréal and wrote an excellent overview of how to use the plugin as part of an event write-up. See Snapcraft Summit Montréal for the post.
This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.
This plugin uses the following plugin-specific keywords:
crystal-channel
: (string, default: latest/stable)
The Snap Store channel to install Crystal from.
crystal-build-options
: (list)
Command line options to pass to shards build
. (e.g. [--release, --static]
)
Requires Snapcraft version 7.0+.
The following keyword is currently accepted by the plugin:
crystal-channel
: (string, default: latest/stable)
The Snap Store channel to install Crystal from.Requires Snapcraft version 3.7+.
Last updated 1 year, 7 months ago.