All Projects â†’ crenv â†’ crystal-build

crenv / crystal-build

Licence: other
💎 crystal-build is an crenv plugin that provides an crenv install command.

Programming Languages

perl
6916 projects
shell
77523 projects
Raku
181 projects

crystal-build

Build Status Build Status codecov.io

crystal-build is an crenv plugin that provides an crenv install command.

Warning: This project has been replaced and is no longer in active development

It is being replaced by crystal-build-cr, which is a rewrite of this existing Perl codebase in Crystal. The Crystal replacement should satisfy the needs of anyone wanting to use crystal-build, so we suggest you use it instead of this repository. The rewrite is largely motivated by the previous maintainer no longer being able to maintain and find contributors for the Perl codebase. Pull requests are no longer being accepted for this repository.

Install

$ git clone https://github.com/pine/crystal-build.git ~/.crenv/plugins/crystal-build

crystal-build currently supports only download a compiled tarball.

Usage

Using crenv install with crenv

To install a Crystal version for use with crenv, run crenv install with the exact name of the version you want to install. For example,

crenv install 0.15.0

Crystal versions will be installed into a directory of the same name under ~/.crenv/versions.

To see a list of all available Crystal versions, run crenv install --list.

Special environment variables

  • CRYSTAL_BUILD_CACHE_PATH, if set, specifies a directory to use for caching downloaded package files.

Development

Tests are executed using Carton:

$ carton install
$ carton exec -- prove -r t # all
$ carton exec -- prove t/<dir>/<file>.t

Acknowledgement

Change log

  • 1.3.0 - Support FreeBSD
  • 1.2.0 - Support installing Crystal from Homebrew bottles
  • 1.1.0 - Support shards auto-install
  • 1.0.0 - First release

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].