#!/bin/sh set -e # Because of the way xcodebuild invokes external scripts we need to load # The Setup's environment ourselves. If this isn't done, things like the # node shim won't be able to find the stuff they need. node --version > /dev/null 2>&1 || source /opt/github/env.sh INPUT_FILE="${1}" OUTPUT_FILE="${2}" node_modules/.bin/cson2json "${INPUT_FILE}" > "${OUTPUT_FILE}"