#!/bin/env sh # townengine tooling interface set +e toolpath="$(dirname -- "${BASH_SOURCE[0]}")" export TWNROOT=$(realpath "$toolpath"/../) export TWNBUILDDIR=$(realpath "$toolpath"/../.build) case "$1" in build ) "$toolpath"/build.sh "${@:2}" ;; * ) echo "Unknown command." ;; esac