You've already forked tribes-plugin-template
Adopt strict plugin entry module and otp_app conventions
Some checks failed
CI / Test (push) Failing after 35s
Some checks failed
CI / Test (push) Failing after 35s
This commit is contained in:
@@ -67,7 +67,7 @@ your_plugin/
|
||||
```json
|
||||
{
|
||||
"name": "your_plugin",
|
||||
"entry_module": "YourPlugin.Plugin",
|
||||
"entry_module": "Tribes.Plugins.YourPlugin.Plugin",
|
||||
"host_api": "1",
|
||||
"otp_app": "your_plugin",
|
||||
"provides": ["some_capability@1"],
|
||||
@@ -76,6 +76,8 @@ your_plugin/
|
||||
}
|
||||
```
|
||||
|
||||
- **entry_module** — must be `Tribes.Plugins.*.Plugin`
|
||||
- **otp_app** — required and must match `name`
|
||||
- **provides** — capabilities this plugin makes available
|
||||
- **requires** — hard dependencies (build fails without them)
|
||||
- **enhances_with** — optional dependencies (plugin degrades gracefully)
|
||||
|
||||
Reference in New Issue
Block a user