fixed linux autolaunch
This commit is contained in:
parent
9a94283309
commit
389b4fe478
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ bin/*
|
||||
build*
|
||||
*.user
|
||||
lib
|
||||
deploy
|
||||
deploy
|
||||
res/rpg.save
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin_dir=$$PWD/bin
|
||||
bin_dir=$$PWD/deploy
|
||||
lib_dir=$$PWD/lib
|
||||
mmokoban_lib_dir=$$PWD/../mmokoban/lib
|
||||
include_dir=$$PWD/../mmokoban/src
|
||||
|
@ -1,19 +1,19 @@
|
||||
#!/bin/sh
|
||||
mkdir SparrowBot/build
|
||||
mkdir mmokoban/build
|
||||
mkdir build
|
||||
cd ../mmokoban
|
||||
mkdir build
|
||||
while true
|
||||
do
|
||||
cd mmokoban
|
||||
git pull
|
||||
cd build
|
||||
qmake-qt5 ../mmokoban.pro
|
||||
make -j4
|
||||
make
|
||||
cd ../../SparrowBot
|
||||
git pull
|
||||
cd build
|
||||
qmake-qt5 ../SparrowBot.pro
|
||||
make -j4
|
||||
make
|
||||
cd ../deploy
|
||||
./SparrowBot -nogui nick=SirSparrow pass=$1 chan=epicsparrow server=irc.freenode.net port=6667
|
||||
cd ../..
|
||||
cd ../../mmokoban
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user