Commit f95fca2d authored by nanahira's avatar nanahira
parents 7de02845 9dd264b8
......@@ -165,20 +165,6 @@
"port": 7213,
"password": "Nanahira",
"hooks": {
"script": {
"path": "./ygopro/script/",
"remote": "origin",
"branch": "master",
"callback": {
"command": "git",
"args": [
"reset",
"--hard",
"FETCH_HEAD"
],
"path": "./ygopro/script/"
}
},
"windbot": {
"path": "./windbot/",
"remote": "origin",
......@@ -194,12 +180,12 @@
"ygopro": {
"path": "./ygopro/",
"remote": "origin",
"branch": "master",
"branch": "server",
"callback": {
"command": "bash",
"args": [
"-c",
"premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
"git reset --hard FETCH_HEAD ; cd ocgcore ; git pull origin master ; git reset --hard FETCH_HEAD ; cd ../script ; git pull origin master ; git reset --hard FETCH_HEAD ; cd .. ; premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
......
......@@ -165,20 +165,6 @@
"port": 7213,
"password": "Nanahira",
"hooks": {
"script": {
"path": "./ygopro/script/",
"remote": "origin",
"branch": "master",
"callback": {
"command": "git",
"args": [
"reset",
"--hard",
"FETCH_HEAD"
],
"path": "./ygopro/script/"
}
},
"windbot": {
"path": "./windbot/",
"remote": "origin",
......@@ -194,12 +180,12 @@
"ygopro": {
"path": "./ygopro/",
"remote": "origin",
"branch": "master",
"branch": "server",
"callback": {
"command": "bash",
"args": [
"-c",
"premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
"git reset --hard FETCH_HEAD ; cd ocgcore ; git pull origin master ; git reset --hard FETCH_HEAD ; cd ../script ; git pull origin master ; git reset --hard FETCH_HEAD ; cd .. ; premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
......
......@@ -165,25 +165,6 @@
"port": 7966,
"password": "123456",
"hooks": {
"script": {
"path": "./ygopro/script/",
"remote": "origin",
"branch": "master",
"callback": false
},
"ocgcore": {
"path": "./ygopro/ocgcore/",
"remote": "origin",
"branch": "master",
"callback": {
"command": "bash",
"args": [
"-c",
"premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
},
"ygopro": {
"path": "./ygopro/",
"remote": "origin",
......@@ -192,7 +173,7 @@
"command": "bash",
"args": [
"-c",
"premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
"cd ocgcore ; git pull origin master ; cd ../script ; git pull origin master ; cd .. ; premake4 gmake ; cd build ; make config=release ; cd .. ; strip ygopro"
],
"path": "./ygopro/"
}
......
......@@ -58,22 +58,25 @@ cd ..
cd ..
git clone --depth=1 https://github.com/purerosefallen/ygopro-server ygopro-server
git clone https://github.com/purerosefallen/ygopro-server ygopro-server
cd ygopro-server
npm install
cp -rf config_build config
mkdir decks decks_save replays
git clone --depth=1 https://github.com/purerosefallen/ygopro-7210srv ygopro
cd ygopro
git clone https://github.com/purerosefallen/ygopro --branch=server --recursive
cd ygopro/
premake4 gmake
cd build
cd ocgcore/
git checkout master
cd ../script/
git checkout master
cd ../build/
make config=release
cd ..
ln -s bin/release/ygopro .
ln -s bin/release/ygopro ./
strip ygopro
mkdir replay
git clone --depth=1 https://github.com/Smile-DK/ygopro-scripts script
cd ..
git clone --depth=1 https://github.com/purerosefallen/windbot
......
......@@ -57,25 +57,28 @@ cd ..
cd ..
git clone --depth=1 https://github.com/purerosefallen/ygopro-server ygopro-server
git clone https://github.com/purerosefallen/ygopro-server ygopro-server
cd ygopro-server
npm install
cp -rf config_build config
mkdir decks decks_save replays
git clone --depth=1 https://github.com/purerosefallen/ygopro-7210srv ygopro
cd ygopro
git clone https://github.com/purerosefallen/ygopro --branch=server --recursive
cd ygopro/
premake4 gmake
cd build
cd ocgcore/
git checkout master
cd ../script/
git checkout master
cd ../build/
make config=release
cd ..
ln -s bin/release/ygopro .
ln -s bin/release/ygopro ./
strip ygopro
mkdir replay
git clone --depth=1 https://github.com/Smile-DK/ygopro-scripts script
cd ..
git clone --depth=1 https://github.com/purerosefallen/windbot
git clone https://github.com/purerosefallen/windbot
cd windbot
echo y | xbuild /property:Configuration=Release
ln -s bin/Release/WindBot.exe .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment