Commit cee3e1b8 authored by nanahira's avatar nanahira

windbot

parent 93ed9892
...@@ -45,16 +45,19 @@ after_build: ...@@ -45,16 +45,19 @@ after_build:
- mkdir 222 - mkdir 222
- cp -rf ../ygopro.exe 222 - cp -rf ../ygopro.exe 222
- git add . -A - git add . -A
- git commit -m "Push by Appveyor" - git commit -m "ygopro 222DIY server pushed by Appveyor"
- git push %Smile%Smile-DK/ygopro-svrelease master - git push %Smile%Smile-DK/ygopro-svrelease master
- cd .. - cd ..
- git clone https://github.com/purerosefallen/ygopro-7210srv - git clone https://github.com/purerosefallen/ygopro-7210srv
- git clone https://github.com/moecube/ygopro-server - git clone https://github.com/moecube/ygopro-server
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://npm.taobao.org/mirrors/node/v8.4.0/node-v8.4.0-win-x64.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://npm.taobao.org/mirrors/node/v8.4.0/node-v8.4.0-win-x64.zip ; exit 0"
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/MicrosoftArchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip ; exit 0"
- cd ygopro-server - cd ygopro-server
- cp -rf ../start.bat .
- mkdir ygopro - mkdir ygopro
- cd ygopro - cd ygopro
- git clone https://github.com/Fluorohydride/ygopro-scripts script - git clone https://github.com/Fluorohydride/ygopro-scripts script
- mkdir replay - mkdir replay
- cp -rf ../../expansions . - cp -rf ../../expansions .
...@@ -70,6 +73,16 @@ after_build: ...@@ -70,6 +73,16 @@ after_build:
- cp -rf ../../ygopro-7210srv/system.conf . - cp -rf ../../ygopro-7210srv/system.conf .
- cp -rf ../../ygopro.exe . - cp -rf ../../ygopro.exe .
- cd .. - cd ..
- mkdir redis
- cd redis
- cp -rf ../../Redis-x64-3.2.100.zip .
- 7z x Redis-x64-3.2.100.zip
- rm -rf Redis-x64-3.2.100.zip
- cd ..
- cp -rf ../ygopro-svrelease/WindBot .
- cp -rf ../node-v8.4.0-win-x64.zip . - cp -rf ../node-v8.4.0-win-x64.zip .
- 7z x node-v8.4.0-win-x64.zip - 7z x node-v8.4.0-win-x64.zip
- rm -rf node-v8.4.0-win-x64.zip - rm -rf node-v8.4.0-win-x64.zip
...@@ -80,14 +93,14 @@ after_build: ...@@ -80,14 +93,14 @@ after_build:
- npm install ws - npm install ws
- npm install redis - npm install redis
- cd .. - cd ..
- 7z a ygopro-222DIY-server.7z ygopro-server -mx=9 -xr!.git* - 7z a ygopro-server.7z ygopro-server start.bat -mx=9 -xr!.git*
test: off test: off
artifacts: artifacts:
- path: ygopro.exe - path: ygopro.exe
name: ygopro name: ygopro
- path: ygopro-222DIY-server.7z - path: ygopro-server.7z
name: ygopro-222DIY-server name: ygopro-server
cache: cache:
- premake-5.0.0-alpha10-windows.zip - premake-5.0.0-alpha10-windows.zip
...@@ -95,6 +108,7 @@ cache: ...@@ -95,6 +108,7 @@ cache:
- lua-5.2.4.tar.gz - lua-5.2.4.tar.gz
- sqlite-amalgamation-3150200.zip - sqlite-amalgamation-3150200.zip
- node-v8.4.0-win-x64.zip - node-v8.4.0-win-x64.zip
- Redis-x64-3.2.100.zip
branches: branches:
only: only:
- master - master
@echo off
cd ygopro-server/redis
start redis-server.exe
cd ../windbot
start windbot.exe 2399
cd ..
node.exe ygopro-server.js node.exe ygopro-server.js
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