diff options
| author | 2021-10-22 02:46:52 +1100 | |
|---|---|---|
| committer | 2021-10-22 02:46:52 +1100 | |
| commit | 33f5ab983d691171c32ccccbcf955a46345eae5a (patch) | |
| tree | eda347ad7e467273b7551cab8a05dc0efd5dfbcd /plugins | |
| parent | 3b57161f336df4d5b2f1d4c68824c228c8f388a7 (diff) | |
-Cleaned up CI targets:
* Restricted Linux CI build to only run on changes to code,
translations, software lists, and build scripts.
* Restricted Windows/macOS CO to only run on changes to code and build
scripts. They provide nothing over Linux for the other stuff.
* Added plugin properties and controller file validation to the "hash"
workflow.
* Added a workflow for building documentation, so pull requests that
affect documentation will at least get a basic check in advance.
-plugins/autofire: Bumped version as configuration format has changed.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/autofire/init.lua | 2 | ||||
| -rw-r--r-- | plugins/autofire/plugin.json | 2 | ||||
| -rw-r--r-- | plugins/plugin.schema | 35 |
3 files changed, 37 insertions, 2 deletions
diff --git a/plugins/autofire/init.lua b/plugins/autofire/init.lua index cfb055b7465..d14533dc53b 100644 --- a/plugins/autofire/init.lua +++ b/plugins/autofire/init.lua @@ -2,7 +2,7 @@ -- copyright-holders:Jack Li local exports = { name = 'autofire', - version = '0.0.3', + version = '0.0.4', description = 'Autofire plugin', license = 'The BSD 3-Clause License', author = { name = 'Jack Li' } } diff --git a/plugins/autofire/plugin.json b/plugins/autofire/plugin.json index 56c36ba751f..20ef5e29a15 100644 --- a/plugins/autofire/plugin.json +++ b/plugins/autofire/plugin.json @@ -2,7 +2,7 @@ "plugin": { "name": "autofire", "description": "Autofire plugin", - "version": "0.0.3", + "version": "0.0.4", "author": "Jack Li", "type": "plugin", "start": "false" diff --git a/plugins/plugin.schema b/plugins/plugin.schema new file mode 100644 index 00000000000..e6dee563c78 --- /dev/null +++ b/plugins/plugin.schema @@ -0,0 +1,35 @@ +{ + "type": "object", + "properties": { + "plugin": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[A-Za-z][0-9A-Za-z_]*$" + }, + "description": { + "type": "string" + }, + "version": { + "type": "string" + }, + "author": { + "type": "string" + }, + "type": { + "type": "string", + "pattern": "^(plugin|library)$" + }, + "start": { + "type": "string", + "pattern": "^(true|false)$" + } + }, + "additionalProperties": false, + "required": [ "name", "description", "version", "author", "type" ] + } + }, + "additionalProperties": false, + "required": [ "plugin" ] +} |
