Added crude auto build script

This commit is contained in:
Stian Thorgersen 2017-08-30 07:24:03 +02:00
parent c6d50bd438
commit 75095bf685

9
build-auto.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
DIR=`dirname $0`/src/web
while true; do
CHANGED=`inotifywait -r -e modify,move,create,delete server_installation --format %w`
GUIDE=`dirname $CHANGED`
mvn install -f $GUIDE
done