update build script
This commit is contained in:
parent
69dfeab125
commit
9ac62fdf89
1 changed files with 2 additions and 0 deletions
2
build.sh
2
build.sh
|
@ -9,6 +9,7 @@ if [ "$choice" = "y" ]; then
|
||||||
echo "building backend!"
|
echo "building backend!"
|
||||||
cd backend
|
cd backend
|
||||||
./gradlew shadowJar
|
./gradlew shadowJar
|
||||||
|
systemctl restart nelle-observer-api
|
||||||
elif [ "$choice" = "n" ]; then
|
elif [ "$choice" = "n" ]; then
|
||||||
echo "exiting..."
|
echo "exiting..."
|
||||||
elif [ "$choice" = "c" ]; then
|
elif [ "$choice" = "c" ]; then
|
||||||
|
@ -22,6 +23,7 @@ elif [ "$choice" = "n" ]; then
|
||||||
echo "building backend!"
|
echo "building backend!"
|
||||||
cd backend
|
cd backend
|
||||||
./gradlew shadowJar
|
./gradlew shadowJar
|
||||||
|
systemctl restart nelle-observer-api
|
||||||
elif [ "$choice" = "n" ]; then
|
elif [ "$choice" = "n" ]; then
|
||||||
echo "exiting..."
|
echo "exiting..."
|
||||||
elif [ "$choice" = "c" ]; then
|
elif [ "$choice" = "c" ]; then
|
||||||
|
|
Loading…
Reference in a new issue