Commit 6968e187 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 51516812
Dockerfile Dockerfile
.git
.gitattributes
.gitignore
.gitmodules
.gitkeep
.dockerignore .dockerignore
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
git_pull () { git_pull () {
cd $1 cd $1
git add -f . git clean -f -d
git reset --hard git reset --hard
git checkout $2 git checkout $2
git reset --hard origin/$2 git reset --hard origin/$2
...@@ -18,14 +18,13 @@ git_push () { ...@@ -18,14 +18,13 @@ git_push () {
cd .. cd ..
} }
rm -rf mse-set
git_pull ygopro-database build git_pull ygopro-database build
git_pull ygopro-images-raw master git_pull ygopro-images-raw master
for locale in locales/*.yml; do for locale in locales/*.yml; do
locale=$(basename "${locale}" .yml) locale=$(basename "${locale}" .yml)
git_pull ygopro-images ${locale} git_pull ygopro-images ${locale}
rm -rf ygopro-images-${locale} rm -rf ygopro-images-${locale} mse-set
./generate.rb ${locale} ./generate.rb ${locale}
for set in mse-sets/data*-${locale}.mse-set; do for set in mse-sets/data*-${locale}.mse-set; do
echo ${set} echo ${set}
......
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