update gendb.sh to generate spell data with spells.py

merge-requests/29/head
James Miller 2019-08-10 16:17:26 -05:00
parent b0eb30ab25
commit c40afb2c76
1 changed files with 10 additions and 0 deletions

View File

@ -28,5 +28,15 @@ sqlite3 pf2.db < data/feats.sql
sqlite3 pf2.db < data/ancestries.sql
sqlite3 pf2.db < data/armor.sql
sqlite3 pf2.db < data/heritages.sql
# Comment out the following three lines if you don't want to generate the spell data.
cd data/third_party_json
python3 spells.py
cd ../..
# TODO Eventually we will stop relying on the spells.py script and I will have
# the actual .sql files for the spell data; I am waiting to see if the
# third-party source improves the data in the next few weeks. If not, we'll
# "divorce" from that data, dump to .sql, and manually manipulate going
# forward.