Skip to content

Instantly share code, notes, and snippets.

Avatar

Graeme Rocher graemerocher

View GitHub Profile
View compile
#!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir>
# fail fast
set -e
BIN_DIR=$(cd $(dirname $0); pwd) # absolute path
# parse args
BUILD_DIR=$1
CACHE_DIR=$2