16 lines
313 B
Plaintext
16 lines
313 B
Plaintext
|
#!/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
|
||
|
;;
|
||
|
* ) echo "Unknown command."
|
||
|
;;
|
||
|
esac
|