16 lines
313 B
Bash
Executable File
16 lines
313 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
|
|
;;
|
|
* ) echo "Unknown command."
|
|
;;
|
|
esac
|