diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-03-20 13:22:43 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-04-17 10:49:09 -0700 |
commit | e0c9259e79f21c6ee19f996c1f5d817d510de663 (patch) | |
tree | 22cd773b3b0ec7635ce1dfdf31ddbb93d5047fb3 /.editorconfig | |
parent | 91050e0c7c4920d9e793e0b911f8f3255b4d0e3e (diff) | |
download | meson-e0c9259e79f21c6ee19f996c1f5d817d510de663.zip meson-e0c9259e79f21c6ee19f996c1f5d817d510de663.tar.gz meson-e0c9259e79f21c6ee19f996c1f5d817d510de663.tar.bz2 |
Add a json schema for the test.json used in tests
This does a couple of nice things, one is that editors like vscode can
be configured to use this schema to provide auto completion and error
highlighting if invalid values are added or required values are missing.
It also allows us test that the format of the test matrix work in a unit
test, which I've added. It does require that the python jsonschema
package is installed.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig index d848627..c2dd5d0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -23,3 +23,5 @@ indent_size = 2 [meson.build] indent_size = 2 +[*.json] +indent_size = 2 |