Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

44 lines (31 loc) · 1.17 KB

Contributing

Build

Warning Building on OSX requires a patched libmpack-lua

make

Test

# run tests from the shell
make test

# run tests in watch mode
watchexec -- ./.deps/usr/bin/busted --lpath='./src/?.lua\;./test/?.lua' src/
-- configure vim-test to run busted correctly
vim.g['test#lua#busted#executable'] = './.deps/usr/bin/busted --lpath="./src/?.lua;./test/?.lua"'

Release

To release version Y from X do the following:

  1. Rename nvim-client-proxy-${X}.rockspec to nvim-client-proxy-${Y}.rockspec
  2. Update version in the rockspec to Y
  3. Add a section at the top of CHANGELOG.md. Be sure to keep the right format. Two things to keep in mind: a. Blank lines need spaces 😭. b. You can test the release notes with make Release.txt
  4. Create a commit with the updated CHANGELOG.md and push it (optionally merge to master via a PR).
  5. Tag the commit git tag v${Y} and push the tag.

Pushing a tag will automatically trigger the release workflow, which releases to:

  • GitHub and
  • LuaRocks