From da738cc18e7b5a8baad7e7f29e6baa37979c71da Mon Sep 17 00:00:00 2001 From: Duncan McNamara Date: Tue, 23 May 2023 15:49:39 +0200 Subject: [PATCH] Compile.sh: add warning without webserver To avoid forcing people to have npm installed to build, and as the webserver is not the heart of the app, a warning is added at the end the build to remind the person compiling that the webserver is missing if it wasn't built previously. --- buildsystem/compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh index 94015e8f5..0e154ec50 100755 --- a/buildsystem/compile.sh +++ b/buildsystem/compile.sh @@ -373,6 +373,10 @@ else fi fi +if [ ! -d "./buildsystem/network-sharing-server/dist" ] ; then + echo "\033[1;32mWARNING: This was built without the webserver at ./buildsystem/network-sharing-server/dist ..." +fi + ####### # RUN # #######