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
46204bd4
Commit
46204bd4
authored
Sep 12, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appveyor
parent
1f8ca360
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
appveyor.yml
appveyor.yml
+12
-5
No files found.
appveyor.yml
View file @
46204bd4
...
@@ -8,7 +8,7 @@ install:
...
@@ -8,7 +8,7 @@ install:
-
ps
:
$fileContent += $env:priv_key.Replace(' ', "`n")
-
ps
:
$fileContent += $env:priv_key.Replace(' ', "`n")
-
ps
:
$fileContent += "`n-----END EC PRIVATE KEY-----`n"
-
ps
:
$fileContent += "`n-----END EC PRIVATE KEY-----`n"
-
ps
:
Set-Content c:\users\appveyor\.ssh\id_ecdsa $fileContent
-
ps
:
Set-Content c:\users\appveyor\.ssh\id_ecdsa $fileContent
-
git submodule update --init --recursive ImgGen magicseteditor
-
git submodule update --init --recursive ImgGen magicseteditor
ygopro-images-raw
-
git clone git@github.com:mycard/ygopro-database.git
-
git clone git@github.com:mycard/ygopro-database.git
# environment and system dependency
# environment and system dependency
...
@@ -19,6 +19,11 @@ install:
...
@@ -19,6 +19,11 @@ install:
# application dependency
# application dependency
-
bundle install
-
bundle install
# get last build
#- ps: wget https://github.com/mycard/ygopro-images-generator/releases/download/latest/ygopro-images-zh-CN.zip -OutFile ygopro-images-zh-CN.zip
#- 7z x
# 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
...
@@ -27,10 +32,12 @@ install:
...
@@ -27,10 +32,12 @@ install:
after_build
:
after_build
:
-
ruby generate.rb zh-CN
-
ruby generate.rb zh-CN
-
magicseteditor\mse.com --export mse-sets\data0-zh-CN.mse-set
"ygopro-images-zh-CN\{card.gamecode}.png"
-
for %i in (mse-sets\data*-zh-CN.mse-set) do magicseteditor\mse.com --export %i
"ygopro-images-zh-CN\{card.gamecode}.png"
-
mkdir ygopro-images\thumbnail
-
mkdir ygopro-images\thumbnail
-
magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images\10000000.jpg"
-
'
for
%i
in
(ygopro-images-zh-CN\*.png)
do
(
-
magick "ygopro-images-zh-CN\10000000.png" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images\thumbnail\10000000.jpg"
magick
%i
-colorspace
RGB
-resize
177x254!
-colorspace
sRGB
ygopro-images\%~ni.jpg
magick
%i
-colorspace
RGB
-resize
44x64!
-colorspace
sRGB
ygopro-images\thumbnail\%~ni.jpg
)'
artifacts
:
artifacts
:
-
path
:
ygopro-images
-
path
:
ygopro-images
...
@@ -38,7 +45,7 @@ artifacts:
...
@@ -38,7 +45,7 @@ artifacts:
type
:
7z
type
:
7z
deploy
:
deploy
:
release
:
latest
release
:
latest
description
:
'
Automatic
uild'
description
:
'
Automatic
b
uild'
provider
:
GitHub
provider
:
GitHub
auth_token
:
auth_token
:
secure
:
itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY
# your encrypted token from GitHub
secure
:
itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY
# your encrypted token from GitHub
...
...
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