From 72df61ecdb05ceb9279ceb6e12e11ce156b392d0 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Fri, 22 Nov 2024 08:32:52 +0100 Subject: [PATCH] improved build script --- devi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devi b/devi index 8396fed9..bcb1f3a9 100755 --- a/devi +++ b/devi @@ -53,6 +53,11 @@ if [[ "$(strip_dash $1)" == "hot" ]]; then cd .. fi +if [[ "$(strip_dash $1)" == "build" ]]; then + echo " starting maven build..." + mvn clean install +fi + if [[ "$(strip_dash $1)" == "docker" ]]; then echo " building docker image..." mvn clean install -DskipTests @@ -77,6 +82,7 @@ if [[ $# -eq 0 ]]; then echo " -frontend : rebuild and start frontend components " echo " -install : install the frontend components " echo " -hot : start hot deployment mode for frontend components " + echo " -build : run a maven build " echo " -clean : clean up build " echo " -docker : build the docker image "