this repo has no description
1#!/bin/sh
2
3export BREW_PREFIX="${BREW_PREFIX:-$(brew --prefix)}"
4export CRYSTAL=$HOME/src/crystal-lang/crystal/.build/crystal
5
6if [[ -e "$CRYSTAL" ]]; then
7 export CRYSTAL_PATH=lib:$HOME/src/crystal-lang/crystal/src
8 export CRYSTAL_LIBRARY_PATH="$BREW_PREFIX/lib"
9 exec "$CRYSTAL" "$@"
10else
11 exec \crystal "$@"
12fi