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

15 lines
243 B
Bash

#!/bin/sh
read -p "git user ?" user
read -s -p "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