SparrowBot/autolaunch.sh
2015-06-02 22:39:56 +02:00

16 lines
325 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
cd ../bin
./SparrowBot -nogui nick=SparrowBot chan=epicsparrow server=irc.freenode.net port=6667
cd ..
done