2024-09-25 16:51:39 +00:00
|
|
|
#!/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
|
2024-10-01 09:45:29 +00:00
|
|
|
build ) "$toolpath"/build.sh "${@:2}"
|
2024-09-25 16:51:39 +00:00
|
|
|
;;
|
|
|
|
* ) echo "Unknown command."
|
|
|
|
;;
|
|
|
|
esac
|