Skip to content

blueyed/lua-client

 
 

Repository files navigation

lua-client

Build Status

Lua client for Neovim

Build

The Makefile pulls and builds various dependencies into .deps.

 make

Test

Run tests against whatever nvim is in $PATH:

 make test

Use a specific nvim:

 NVIM_PROG=/path/to/nvim make test

Use test tags (it('#foo', function() ...):

 NVIM_PROG=/path/to/nvim make test TEST_TAG=foo

Release

  1. Bump the rockspec version and filename.
  2. Create and push a new tag.
    TAG=$(echo *.rockspec | grep -o '[0-9].[0-9].[0-9].[0-9]')
    git tag -a "$TAG" -m "nvim-client $TAG"
    git push --follow-tags --dry-run
    git push --follow-tags
    
  3. Generate LuaRocks API key
  4. Upload the new rockspec.
    ./.deps/usr/bin/luarocks upload --api-key=xxx nvim-client-*.rockspec
    
    • Note: luarocks upload requires a JSON library.
      ./.deps/usr/bin/luarocks install dkjson
      

About

Nvim Lua client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 79.4%
  • Makefile 10.8%
  • Shell 5.4%
  • C 2.9%
  • Python 1.5%