From 3f1cf278e92b99bac567f93da60a0d584f8ecd45 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 9 Jul 2019 13:13:11 +0100 Subject: [PATCH] Fix ttn app server action in build script --- build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build b/build index 8c8e717..8f83425 100755 --- a/build +++ b/build @@ -34,9 +34,9 @@ if [[ "$#" -lt 1 ]]; then echo -e " ./build ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ..."; echo -e ""; echo -e "${CSECTION}Available actions${RS}"; - echo -e " ${CACTION}setup${RS} - Perform initial setup"; - echo -e " ${CACTION}render${RS} - Render the report"; - echo -e " ${CACTION}server${RS} - Execute the Node.js server."; + echo -e " ${CACTION}setup${RS} - Perform initial setup"; + echo -e " ${CACTION}render${RS} - Render the report"; + echo -e " ${CACTION}server-ttn${RS} - Execute the Node.js TTN receiver."; echo -e ""; exit 1; @@ -107,8 +107,8 @@ task_setup() { stage_end 0; } -task_server() { - execute node --experimental-modules ./server/index.mjs $@; +task_server-ttn() { + execute node --experimental-modules ./server/index.mjs ttn-app-server; } ###############################################################################