crystal-env

This shard provides environment detection. The selected environment is configured using CRYSTAL_ENV environment variable.

Installation

Add this to your application's shard.yml:

dependencies:
  crystal-env:
    github: crystal-lang/crystal-env

Usage

require "crystal-env"
require "spec"
require "crystal-env/spec"
require "../your-app"

Contributors