Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-images-generator
Commits
defb1592
Commit
defb1592
authored
Sep 11, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appveyor
parent
55d68eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
appveyor.yml
appveyor.yml
+27
-0
No files found.
appveyor.yml
View file @
defb1592
...
...
@@ -3,16 +3,43 @@ environment:
secure
:
ek1AH0N8/KF6VoildmkHnu4TY1yBZcptm20AesAOanRSSGLFqkXeRxL80mHSXtiVY8ggtQNsEQR4M69gCiw1OPVWz4OAN6Vg6id6kho9GqYxWCdADbmffSNPB5leksRGjGmkAF99WHiOIZrLRUb6Bia91Fe5+SngPhI01GDDUZA2urv9x50uBBhc+kvV0bv7J5TeXDGr7tfZ3J2aL/3tf/WPqBkqjWlGAj99HTWpkIiQgwaBHoyBvEFD0uHa1BdSmI7PySGabbx4/4zqyGkO38Ce7t/Ntu/dgedzVxlXYfuiXDI8caAPZSVsJ9E2S3VKesZJzHtV9KM/8Xq0RFPythdC/qTvd2e3IAZGudZpgbUHGAHLJnCzn189Zm+Qle8CbbVuPNDcf1B/G/XwEU2MsDXGkF/kFxdeqbHgjzneyns=
version
:
'
{build}'
install
:
# ssh key and submodules
-
ps
:
$fileContent = "-----BEGIN EC PRIVATE KEY-----`n"
-
ps
:
$fileContent += $env:priv_key.Replace(' ', "`n")
-
ps
:
$fileContent += "`n-----END EC PRIVATE KEY-----`n"
-
ps
:
Set-Content c:\users\appveyor\.ssh\id_ecdsa $fileContent
-
git submodule update --init --recursive ImgGen magicseteditor
-
git clone git@github.com:mycard/ygopro-database.git
# environment and system dependency
-
set PATH=C:\Ruby22\bin;%PATH%
-
choco install imagemagick
# application dependency
-
bundle install
# mock data
-
mv ygopro-database/cards.zh-CN.cdb ygopro-database/zh-CN.cdb
-
echo {} > ygopro-images/records.json
-
ps
:
wget https://github.com/mycard/ygopro-images-raw/raw/master/10000000.jpg -OutFile ygopro-images-raw/10000000.jpg
# do it
-
ruby generate.rb zh-CN
-
magicseteditor/mse.com --export mse-sets/data0-zh-CN.mse-set "ygopro-images-zh-CN/{card.gamecode}.png"
-
convert "ygopro-images-zh-CN/10000000.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images/10000000.jpg"
-
convert "ygopro-images-zh-CN/10000000.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images/thumbnail/10000000.jpg"
-
7z a -txz ygopro-images-zh-CN.tar.xz ygopro-images-zh-CN
deploy
:
release
:
latest
description
:
'
Release
description'
provider
:
GitHub
auth_token
:
secure
:
itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY
# your encrypted token from GitHub
artifact
:
ygopro-images-zh-CN.tar.xz
# upload all NuGet packages to release assets
draft
:
false
prerelease
:
true
on
:
branch
:
master
# release from master branch only
#appveyor_repo_tag: true # deploy on tag push only
#build: off
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment