Commit Graph
8 Commits
Author SHA1 Message Date
Richard Kuhnt 2e5bf31bde Add testing for valid hashs 2017-03-08 17:47:47 +01:00
Richard Kuhnt 825f19aa52 Add jsonpath support for checkver and hash extraction
Unravel if-blocks in checkver

Use new jsonpath for openssl, nuget, dart and bfg
2017-03-03 21:15:37 +01:00
Richard Kuhnt ecd2d16143 Improve schema
* Use architecture definition

* Arrays of string shouldn't be empty

* Add back uniqueItems directive

* match version against pattern from install.ps1

* reindent
2017-02-18 17:57:56 +01:00
Richard Kuhnt 1feda7a088 [WIP] Validate manifests against JSON Schema in CI Tests (#1331)
* Add suggest and psmodule to schema.json
* Fix required fields in schema.json
* Improve url validation in schema.json
* Add validator.exe as a single file validation tool
* Add Scoop.Validator Lib for use in Manifest-Tests
* Add buildscript for Scoop.Validator and validator.exe
* Exclude .dll and packages folder from Project-Tests
* Validate manifests against JSON Schema in CI Tests
* Complete JSON Schema Validation
* Dlls shouldn't be treated as text
2017-02-17 19:00:56 +01:00
Ross Smith II 7d76dd5da1 Update descriptions in schema 2017-01-12 10:35:33 -08:00
Ross Smith II c5ba44eb19 Add documentation to schema 2017-01-12 09:12:10 -08:00
Ross Smith II c0f8e9800c Add nl to schema.json 2017-01-12 08:27:15 -08:00
Ross Smith II a319cad826 Add manifest schema (all manifests pass) 2017-01-12 07:18:06 -08:00