Commit Graph

20 Commits

Author SHA1 Message Date
Richard Kuhnt 6e5793dca4 Fix required properties for un/installer in schema.json 2017-08-22 15:29:11 +02:00
Richard Kuhnt 5af29e1b25 Add script to un/installer property
Allow custom installer and uninstaller scripts without creating/downloading *.ps1 files (could also be used to clean-up post_install and pre_install scripts)
2017-08-21 12:52:22 +02:00
Luke Sampson 43265f59e7 Use ## for manifest comments. 2017-06-20 21:46:47 +10:00
Richard Kuhnt 884a7a3361 Allow architecture specific shortcuts for special cases like dont-sleep or mpc-hc 2017-05-23 22:28:49 +02:00
Richard Kuhnt d138445417 Make tests pass for $baseurl 2017-05-15 13:24:49 +02:00
Richard Kuhnt 58db09593f Mark hash type as deprecated in schema.json 2017-05-14 04:53:30 +02:00
Richard Kuhnt 7fc0aa8d8c Add hash extraction for each architecture to schema 2017-04-15 13:12:28 +02:00
Richard Kuhnt 05a5e6e1b5 Remove hash type from manifest schema 2017-04-14 18:02:44 +02:00
Richard Kuhnt a563f753e1 Hash url should at least $url somewhere 2017-04-02 23:01:28 +02:00
Rémy 9afe014dca add persist to JSON schema.json 2017-03-25 16:28:05 +01:00
Rémy 6b41096c05 fix the schema reference on the schema 🤺 2017-03-25 16:28:05 +01:00
Rémy 9388c90232 remove travel_dir partial implementation 2017-03-25 16:28:05 +01:00
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