Use demjson's jsonlint
This commit is contained in:
parent
1759f41d1a
commit
a86bedaf9b
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
# Blokmap
|
# Blokmap
|
||||||
Een handige map met alle bloklocaties in Gent.
|
Een handige map met alle bloklocaties in Gent.
|
||||||
|
|
||||||
|
This package uses [demjson](https://deron.meranda.us/python/demjson/download) to check the validity of the json file.
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ echo "-> Pulling latest release"
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
echo "-> Checking validity of data.json"
|
echo "-> Checking validity of data.json"
|
||||||
cat src/data.json | json_verify
|
jsonlint src/data.json
|
||||||
|
|
||||||
|
|
||||||
# Create release dir and copy sources to that dir
|
# Create release dir and copy sources to that dir
|
||||||
|
|
Loading…
Reference in a new issue