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
01eb3560
Commit
01eb3560
authored
Apr 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imggen
parent
061121a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
Dockerfile
Dockerfile
+9
-1
ImgGen
ImgGen
+1
-1
generate.sh
generate.sh
+7
-0
No files found.
Dockerfile
View file @
01eb3560
...
...
@@ -2,7 +2,7 @@ FROM ruby
RUN
dpkg
--add-architecture
i386
RUN
apt-get update
RUN
apt-get
install
-y
wine wine32 xvfb imagemagick
RUN
apt-get
install
-y
wine wine32 xvfb imagemagick
mono-complete
RUN
bundle config
--global
frozen 1
RUN
mkdir
-p
/usr/src/app
...
...
@@ -22,4 +22,12 @@ RUN wineboot -i
COPY
magicseteditor/fonts /root/.wine/drive_c/windows/Fonts
COPY
. /usr/src/app
RUN
mv
/usr/src/app/ImgGen /usr/src/app/ImgGen-source
WORKDIR
/usr/src/app/ImgGen-source
RUN
xbuild /property:Configuration
=
Release /property:OutDir
=
/usr/src/app/ImgGen/
RUN
ln
-s
/usr/src/app/ygopro-database/zh-CN.cdb /usr/src/app/cards.cdb
RUN
ln
-s
/usr/src/app/ygopro-images-raw /usr/src/app/ImgGen/pico
RUN
ln
-s
/usr/src/app/ygopro-images /usr/src/app/ImgGen/picn
CMD
xvfb-run --server-args="-screen 0 1x0x24" ./Server.rb
ImgGen
@
b1fe4ca3
Subproject commit
8eac20f1cbf7d181e1383d35877c3bca95a659b3
Subproject commit
b1fe4ca39ced52dfbd55e31d6b47470f44918a71
generate.sh
View file @
01eb3560
...
...
@@ -22,6 +22,7 @@ git_pull ygopro-database build
git_pull ygopro-images-raw master
for
locale
in
locales/
*
.yml
;
do
continue
;
locale
=
$(
basename
"
${
locale
}
"
.yml
)
git_pull ygopro-images
${
locale
}
rm
-rf
ygopro-images-
${
locale
}
mse-set
...
...
@@ -41,3 +42,9 @@ for locale in locales/*.yml; do
git_push ygopro-images
done
#classical
git_pull ygopro-images classical
cd
ImgGen
mono ImgGen.exe
cd
..
git_push ygopro-images
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