From 141dfcf9317280f6450ef35dff6cdee1043fa9a0 Mon Sep 17 00:00:00 2001 From: Dave Machado Date: Thu, 25 May 2017 10:15:57 -0400 Subject: [PATCH] Comment out build script --- build/build.sh | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 build/build.sh diff --git a/build/build.sh b/build/build.sh old mode 100644 new mode 100755 index 691ee00a..bac62d40 --- a/build/build.sh +++ b/build/build.sh @@ -1,6 +1,10 @@ #!/bin/bash +# 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/api.min.json +# beautify the previously created JSON file, redirect to /json python -m json.tool ../json/api.min.json > ../json/api.json +# print out pretty JSON (useful for debugging, checking for new entries, etc) cat ../json/api.json