Remove jsontool dependency
This commit is contained in:
parent
53506686bb
commit
d01115f54b
2 changed files with 1 additions and 5 deletions
|
@ -7,7 +7,3 @@ We usually use data from [Stad Gent](https://stad.gent/studenten/studeren/bloklo
|
|||
## Dev
|
||||
|
||||
You can easily run the site locally by spawning a simple static file server in the `src` directory. For example with `python3 -m http.server` or any other one-liner in [this big list](https://gist.github.com/willurd/5720255).
|
||||
|
||||
This package uses [jsonlint](https://github.com/zaach/jsonlint) to check the validity of the json file.
|
||||
|
||||
Test validity locally by installing the npm package with `npm install -g jsonlint` and then running `jsonlint src/data.json`.
|
||||
|
|
|
@ -14,7 +14,7 @@ echo "-> Pulling latest release"
|
|||
git pull | grep 'Already up[- ]to[- ]date.' && echo "No updates, exiting..." && exit 20
|
||||
|
||||
echo "-> Checking validity of data.json"
|
||||
jsonlint src/data.json
|
||||
python -m json.tool src/data.json > /dev/null
|
||||
|
||||
|
||||
# Create release dir and copy sources to that dir
|
||||
|
|
Loading…
Reference in a new issue