Commit 01eb3560 authored by 神楽坂玲奈's avatar 神楽坂玲奈

imggen

parent 061121a8
......@@ -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
Subproject commit 8eac20f1cbf7d181e1383d35877c3bca95a659b3
Subproject commit b1fe4ca39ced52dfbd55e31d6b47470f44918a71
......@@ -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
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