mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-02 14:13:05 +00:00
Validate json with js
This commit is contained in:
parent
72b168ea91
commit
fb642ff377
@ -18,7 +18,7 @@ before_script:
|
||||
- export PATH=`pwd`/nim-0.13.0/bin:$PATH
|
||||
|
||||
script:
|
||||
- nim c -d:ssl -r package_scanner.nim
|
||||
- nim c -d:ssl -r package_scanner.nim && node ./validate_json.js
|
||||
|
||||
notifications:
|
||||
email: false # noisy
|
||||
|
||||
2
validate_json.js
Normal file
2
validate_json.js
Normal file
@ -0,0 +1,2 @@
|
||||
var fs = require('fs');
|
||||
JSON.parse(fs.readFileSync('packages.json', 'utf8'));
|
||||
Loading…
x
Reference in New Issue
Block a user