Commit ad03b712 authored by 神楽坂玲奈's avatar 神楽坂玲奈

CI

parent 8b3da933
...@@ -23,12 +23,10 @@ install: ...@@ -23,12 +23,10 @@ install:
# mock data # mock data
- mv ygopro-database/cards.zh-CN.cdb ygopro-database/zh-CN.cdb - mv ygopro-database/cards.zh-CN.cdb ygopro-database/zh-CN.cdb
- echo {} > ygopro-images/records.json - echo {} > ygopro-images/records.json
#- ps: wget https://github.com/mycard/ygopro-images-raw/raw/master/10000000.jpg -OutFile ygopro-images-raw/10000000.jpg
#- ps: wget https://github.com/mycard/ygopro-images-raw/raw/master/10000001.jpg -OutFile ygopro-images-raw/10000001.jpg
after_build: after_build:
- ruby generate.rb zh-CN - ruby generate.rb zh-CN
- for %%i in (mse-sets\data*-zh-CN.mse-set) do magicseteditor\mse.com --export %%i "ygopro-images-zh-CN\{card.gamecode}.png" - dir mse-sets\data*-zh-CN.mse-set /b | xargs -I {} -P 8 magicseteditor\mse.com --export {} "ygopro-images-zh-CN\{card.gamecode}.png"
- mkdir ygopro-images\thumbnail - mkdir ygopro-images\thumbnail
- for %%i in (ygopro-images-zh-CN\*.png) do magick %%i -colorspace RGB -resize 177x254! -colorspace sRGB ygopro-images\%%~ni.jpg - for %%i in (ygopro-images-zh-CN\*.png) do magick %%i -colorspace RGB -resize 177x254! -colorspace sRGB ygopro-images\%%~ni.jpg
- for %%i in (ygopro-images-zh-CN\*.png) do magick %%i -colorspace RGB -resize 44x64! -colorspace sRGB ygopro-images\thumbnail\%%~ni.jpg - for %%i in (ygopro-images-zh-CN\*.png) do magick %%i -colorspace RGB -resize 44x64! -colorspace sRGB ygopro-images\thumbnail\%%~ni.jpg
......
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