diff --git a/site/index.html b/site/index.html index 07b453f..461de2f 100644 --- a/site/index.html +++ b/site/index.html @@ -898,6 +898,13 @@ to PROG. binary, but it is primarily used for generating releases.
  • +run: Run a built Telodendria binary with the +development configuration in contrib/. This recipe can +be used for quick testing during development. It is not the +recommended way to run Telodendria in a production environment; +it should be used only for development. +
  • +
  • clean: Remove the build/ directory, which effectively cleans the source tree. Note that build does not place anything outside of build/, so this is diff --git a/tools/bin/td b/tools/bin/td index ec4d233..5f4a960 100644 --- a/tools/bin/td +++ b/tools/bin/td @@ -98,6 +98,14 @@ recipe_build() { fi } +recipe_run() { + if [ -f "build/$PROG" ]; then + "build/$PROG" -c contrib/development.conf + else + echo "build/$PROG does not exist; build it first." + fi +} + # Remove all build files, which can be regenerated by re-running the # build recipe. recipe_clean() {