3 changed files with 12 additions and 2 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#!/bin/bash |
||||||
|
cd $(dirname $0) |
||||||
|
if [ -f target/BelegScanner*with-dependencies.jar ]; then |
||||||
|
echo jar exists. |
||||||
|
else |
||||||
|
echo building application |
||||||
|
require-install mvn maven |
||||||
|
mvn clean install |
||||||
|
fi |
||||||
|
java -Dlogback.configurationFile=resources/logback.xml -jar target/BelegScanner*with-dependencies.jar |
Loading…
Reference in new issue