mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-15 18:16:50 +02:00
Comment out build script
This commit is contained in:
parent
6747d5b250
commit
141dfcf931
1 changed files with 4 additions and 0 deletions
4
build/build.sh
Normal file → Executable file
4
build/build.sh
Normal file → Executable file
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue