Scripts that are helpful for maintaing the lite-xl project and its various subprojects.
By default, lpm doesn't load any extra functionality. You can change this one of two ways.
- Add in
--plugin
to your lpm call with the path the the plugin you'd like to have extendlpm
's functionality. You can specify--plugin
multiple times. Best place to do this is in anlpm
BASH script in your path, like so:
lpm $@ --plugin ~/lite-xl-maintenance/lpm-plugins/gh.lua
- Export the variable
LPM_PLUGINS
to your environment; this is a colon separated list of plugin paths that will be loaded with each lpm call.
Adds github-related functionality to lpm. Requires gh
installed.
- Allows you to supply PR urls to
run
, which will automatically decode the PR, and supply the appropriate repo. - Allows you to automatically create PRs in
lite-xl-plugins
in your CI, that backfills stubs with the right version history. - Allows you to create a PR to
lite-xl-plugins
that contains the initial stubs of your plugin with
wget https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-linux -O lpm && chmod +x lpm &&
./lpm --plugin https://raw.githubusercontent.com/adamharrison/lite-xl-maintenance/latest/lpm-plugins/gh.lua create-stubs-pr