SparrowBot/autolaunch.sh
2015-05-21 19:11:45 +02:00

15 lines
241 B
Bash

#!/bin/sh
read -p "git user ?" user
read -ps "git password ?" pass
mkdir build
while true
do
git pull https://$user:$pass@epicsparrow.com/Anselme/sparrowbot.git
cd build
qmake-qt5 ../SparrowBot.pro
make
./SparrowBot -nogui
cd ..
done