Przeglądaj źródła

Use Python tool to beautify JSON into unminified /json file

pull/362/head
Dave Machado 7 lat temu
rodzic
commit
b0ef43db58
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 948D4778D01A7B3F
1 zmienionych plików z 2 dodań i 3 usunięć
  1. +2
    -3
      build/build.sh

+ 2
- 3
build/build.sh Wyświetl plik

@@ -1,7 +1,6 @@
#!/bin/bash

mkdir -p ../json
node md2json.js ../README.md > ../json/api.json
node md2json.js ../README.md > ../json/api.min.json
python -m json.tool ../json/api.min.json > ../json/api.json
cat ../json/api.json
ls -l ..
ls -l ../json

Ładowanie…
Anuluj
Zapisz