瀏覽代碼

Update name of API entires JSON files

pull/368/head
Dave Machado 6 年之前
父節點
當前提交
cb63f64954
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 948D4778D01A7B3F
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      build/build.sh

+ 4
- 4
build/build.sh 查看文件

@@ -3,8 +3,8 @@
# 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
node md2json.js ../README.md > ../json/entries.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
python -m json.tool ../json/entries.min.json > ../json/entries.json
# print out pretty JSON (useful for debugging, checking for new entries, etc)
cat ../json/entries.json

Loading…
取消
儲存