diff options
| author | Mistivia <i@mistivia.com> | 2025-04-16 18:53:55 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-04-16 18:54:06 +0800 |
| commit | df0e994d8e48e7e4b8e33fa70a373287634ea0e3 (patch) | |
| tree | c6fb0bed483a8298e17c640bc1a594fc768c92d1 /data/update.sh | |
| parent | 870a4aac0d18458dbccabe36786f09e2e7f15c7c (diff) | |
update data script
Diffstat (limited to 'data/update.sh')
| -rw-r--r-- | data/update.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/update.sh b/data/update.sh index d9b5594..fc49393 100644 --- a/data/update.sh +++ b/data/update.sh @@ -4,6 +4,10 @@ unzip cards.zip rm cards.zip python3 build-card-info.py python3 split.py + +python3 fetch-ocg-banlist.py +python3 fetch-tcg-banlist.py + python3 genbanlist.py > ../src/ocg_banlist.json python3 cn-genbanlist.py > ../src/cnocg_banlist.json python3 tcg-genbanlist.py > ../src/tcg_banlist.json @@ -12,3 +16,8 @@ python3 md-genbanlist.py > ../src/md_banlist.json rsync -avz ./card_db_parts/ root@raye:/volume/webroot/card_db_parts/ cd .. sh deploy.sh + +cd data +cp cards.json ~/ygo/cardtext-proj +cd ~/ygo/cardtext-proj +sh update.sh |
