zeldadungeon / maps

Interactive maps for Zelda games
40 stars 18 forks source link

[resolve #97] format totk public json #98

Closed slaurent22 closed 1 year ago

slaurent22 commented 1 year ago

Resolves #97

Summary

Adds a "custom" (i.e. yoinked and modified) stringify script which keeps certain objects to one line, for a balance of file size and source control sanity

Testing

Depths Locations and Materials

Depths Locations and Materials Screenshot

Surface Locations and Materials

Surface Locations and Materials Screenshot

Sky Locations and Materials

Sky Locations and Materials Screenshot

LockeExile commented 1 year ago

I generate these json files from a separate tool, I take it this would just be a separate step I'd run after each time I regenerate them? Does it matter if the input is already formatted?

I do like keeping these formatted (especially this custom formatting) in source control so it's easy to see diffs. I wonder if we can minify them as a build step.