From c40afb2c767142086b17b1ad55f80f24d5f94ca5 Mon Sep 17 00:00:00 2001 From: James Miller Date: Sat, 10 Aug 2019 16:17:26 -0500 Subject: [PATCH] update gendb.sh to generate spell data with spells.py --- gendb.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gendb.sh b/gendb.sh index 0205c71..3b41dbe 100755 --- a/gendb.sh +++ b/gendb.sh @@ -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.