update build script

This commit is contained in:
Dave Machado
2017-08-03 15:18:08 -04:00
parent 1ed2e11c18
commit a3109a153d
5 changed files with 1419 additions and 464 deletions

View File

@@ -3,6 +3,7 @@
# create json directory if not already present
mkdir -p ../json
# parse API README and print (minified) JSON to stdout, redirect to /json
node md2json.js ../README.md > ../json/entries.min.json
node condenseMd.js ../README.md > single_table.md
node md2json.js single_table.md > ../json/entries.min.json
# beautify the previously created JSON file, redirect to /json
python -m json.tool ../json/entries.min.json > ../json/entries.json