SparrowBot/autolaunch.sh

13 lines
261 B
Bash
Executable File

#!/bin/sh
mkdir build
while true
do
git pull https://git.epicsparrow.com/Anselme/SparrowBot.git
cd build
qmake-qt5 ../SparrowBot.pro
make
cd bin
./SparrowBot -nogui nick=SirSparrow pass=$1 chan=epicsparrow server=irc.freenode.net port=6667
cd ../..
done