SparrowBot/autolaunch.sh
2015-05-26 19:54:26 +02:00

15 lines
314 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 nick=SparrowBot chan=epicsparrow server=irc.freenode.net port=6667
cd ..
done