Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

9 lignes
335 B

  1. #!/bin/bash
  2. # create json directory if not already present
  3. mkdir -p ../json
  4. # parse API README and print (minified) JSON to stdout, redirect to /json
  5. ./md2json.py ../README.md > ../json/entries.min.json
  6. # beautify the previously created JSON file, redirect to /json
  7. python -m json.tool ../json/entries.min.json > ../json/entries.json