Skip to content

Commit

Permalink
improved build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Nov 22, 2024
1 parent df678f5 commit 72df61e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 "

Expand Down

0 comments on commit 72df61e

Please sign in to comment.