16 lines
322 B
Bash
Executable File
16 lines
322 B
Bash
Executable File
#!/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
|