Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.
/ crystal-release Public archive

🔮 Unofficial Crystal release for use with `bosh vendor-package`

License

Notifications You must be signed in to change notification settings

s4heid/crystal-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crystal-release

An unofficial bosh-package to vendor crystal. This package might be useful when authoring a bosh release that requires crystal as a runtime and/or compilation dependency.

Requirements

Usage

General

Step 1: Clone this repository and vendor crystal-* into your release:

$ git clone https://github.com/s4heid/crystal-release.git
$ cd ~/workspace/your-release
$ bosh vendor-package crystal-0.32.1 ~/workspace/crystal-release

Step 2: Add crystal-* to the spec file of your release:

dependencies:
- crystal-0.32.1

Compilation

To use crystal-* for compilation in a packaging script, source the compile.env script:

source /var/vcap/packages/crystal-0.32.1/bosh/compile.env
crystal build ...

Runtime

To use crystal-* at runtime in a packaging script, source the runtime.env script:

source /var/vcap/packages/crystal-0.32.1/bosh/runtime.env
crystal run ...

Development

Execute the tests against a working bosh environment (e.g., on virtualbox).

$ ./tests/run.sh

License

MIT License

About

🔮 Unofficial Crystal release for use with `bosh vendor-package`

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published