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.
- bosh-cli
v2.0.36
+
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
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 ...
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 ...
Execute the tests against a working bosh environment (e.g., on virtualbox).
$ ./tests/run.sh