You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/wiki/addons.mdx
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,5 +148,23 @@ The `config.json` file is very important for addons and must be included. A sche
148
148
}
149
149
```
150
150
151
+
## LuaRocks
152
+
153
+
<Remarktype="WIP">
154
+
LuaRocks addons are currently in beta. Please report any encountered issues in the [luarocks build backend repo](https://github.com/LuaLS/luarocks-build-addon)!
155
+
</Remark>
156
+
157
+
We'd love feedback with publishing and installing addons via LuaRocks. Using LuaRocks for managing addons should be much more sustainable than the current method (and its independent of editor!). It is very similar to how addons have previously functioned, with some notable changes:
158
+
159
+
1. The `config.json` file is deprecated, replaced by the `*.rockspec` file.
160
+
-`words` and `files` properties are no longer supported.
161
+
-`settings` are to be defined in `build.settings` in the `*.rockspec` file
162
+
2. Plugins are now automatically discovered and enabled upon addon installation.
163
+
3. Addons can depend on each other using the native `dependencies` table of the `*.rockspec` file.
164
+
165
+
See the [README for the luarocks build backend](https://github.com/LuaLS/luarocks-build-addon#readme) to learn more. Please provide all feedback in that repo. <Iconname="heart"group="solid"color="red"/>
166
+
167
+
See https://gitlab.com/carsakiller/lls-addon-cc-tweaked as an example, which is a migrated version of the [cc-tweaked addon](https://gitlab.com/carsakiller/cc-tweaked-documentation).
0 commit comments