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

CI

parent 0e79a2fa
......@@ -30,9 +30,8 @@ after_build:
- ruby generate.rb zh-CN
- bash -c 'ls -1 mse-sets/data*-zh-CN.mse-set | xargs -I {} -P 4 magicseteditor/mse.com --export {} "ygopro-images-zh-CN/{card.gamecode}.png"'
- mkdir ygopro-images\thumbnail
- for %i in (ygopro-images-zh-CN\*.png) do @echo %~ni >> list.txt
- bash -c 'cat list.txt | xargs -I {} -P 4 magick "ygopro-images-zh-CN/{}.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images/{}.jpg"'
- bash -c 'cat list.txt | xargs -I {} -P 4 magick "ygopro-images-zh-CN/{}.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images/thumbnail/{}.jpg"'
- bash -c 'ls -1 ygopro-images-zh-CN | sed -e 's/\.png$//' | xargs -I {} -P 4 magick "ygopro-images-zh-CN/{}.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images/{}.jpg"'
- bash -c 'ls -1 ygopro-images-zh-CN | sed -e 's/\.png$//' | xargs -I {} -P 4 magick "ygopro-images-zh-CN/{}.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images/thumbnail/{}.jpg"'
artifacts:
- path: ygopro-images
name: ygopro-images-zh-CN
......
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