Convert wild encounter data to JSON

This commit is contained in:
Marcus Huderle
2019-04-28 12:12:26 -05:00
committed by huderlem
parent 483648e372
commit 0babaa8c07
7 changed files with 12277 additions and 4574 deletions

6
json_data_rules.mk Executable file
View File

@@ -0,0 +1,6 @@
# JSON files are run through jsonproc, which is a tool that converts JSON data to an output file
# based on an Inja template. https://github.com/pantor/inja
AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/wild_encounters.h
$(DATA_SRC_SUBDIR)/wild_encounters.h: $(DATA_SRC_SUBDIR)/wild_encounters.json $(DATA_SRC_SUBDIR)/wild_encounters.json.txt
$(JSONPROC) $^ $@