-
Notifications
You must be signed in to change notification settings - Fork 1
/
expression_evaluator.sh
executable file
·24 lines (21 loc) · 1.43 KB
/
expression_evaluator.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
echo "*********************************************************************************************"
echo "********************************* Expression Evaluator **************************************"
echo "*********************************************************************************************"
echo "/////////////////////////////////////////////////////////////////////////////////////////////"
## Making an executable jar file
echo "*********************************************************************************************"
echo "************************** STARTING THE APPLICATION *********************************"
echo "*********************************************************************************************"
echo "mvn spring-boot:run"
mvn spring-boot:run
STATUS=$?
if [ $STATUS -eq 0 ]; then
echo "*********************************************************************************************"
echo "******************************* Build Successful **************************************"
echo "*********************************************************************************************"
else
echo "*********************************************************************************************"
echo "********************************* Build Fail *****************************************"
echo "*********************************************************************************************"
fi