diff --git a/.gitignore b/.gitignore index 339e469..7186431 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ target/ +target-*/ node_modules/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..9fcbc1f --- /dev/null +++ b/build.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# +# Setup env +nvm use 22 +FLAVORS_ROOT="flavors" + +# build default version +/opt/apache-maven-3.9.9/bin/mvn clean install -Ddir=target + + +# Check if the flavors need to be build +if [ ! -d "$FLAVORS_ROOT" ]; then + echo "Directory '$FLAVORS_ROOT' not found. No flavours to be build" + exit 0 +fi + +# Iterate through all items in the flavors directory +for d in "$FLAVORS_ROOT"/* ; do + if [ -d "$d" ]; then + FLAVOR_NAME=$(basename "$d") + + echo "Processing flavor directory: **$FLAVOR_NAME**" + + echo "Copying contents of '$d' to '..'" + cp -r "$d"/. .. + + TARGET_DIR_NAME="target-$FLAVOR_NAME" + + /opt/apache-maven-3.9.9/bin/mvn clean install -Ddir=$TARGET_DIR_NAME + fi +done + + + + + diff --git a/client/pom.xml b/client/pom.xml index c6408a4..59b23cb 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -10,7 +10,11 @@ client pom client + + target + + ${dir} org.codehaus.mojo diff --git a/client/src/components/Footer.jsx b/client/src/components/Footer.jsx index 80b94f2..047d5d6 100644 --- a/client/src/components/Footer.jsx +++ b/client/src/components/Footer.jsx @@ -26,7 +26,7 @@ export const Footer = () => {
- {}
diff --git a/client/src/connection/Testing.jsx b/client/src/connection/Testing.jsx index 9e2010e..0d1ab22 100644 --- a/client/src/connection/Testing.jsx +++ b/client/src/connection/Testing.jsx @@ -1212,9 +1212,9 @@ export const Testing = ({

{I18n.t("connection.help")}

-