SatyendraBanjare / luagit2

Updated Lua bindings to libgit2

Home Page:http://luagit2.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Luagit2

(for Lua == 5.3 )

Updated Lua bindings to libgit2 written using LuaC-API and tests written using Busted and coverage using luacov.

Though the project is still under development, you can try, install and test the project using:

Installation

  • First, install libgit2, according to the instructions on their documentation.

  • Since this project depends on LuaC-Api , it is required to install liblua5.3-dev as :

sudo apt-get install liblua5.3-dev

Install using cmake/make

git clone https://github.com/SatyendraBanjare/luagit2.git
cd luagit2
mkdir build && cd build
cmake ..
make 
sudo make install

install using luarocks

cd luagit2 
sudo luarocks make

Runnig tests

Make sure you have Busted and luacov installed (refer link above).

cd tests/
busted . -c 

To get the coverage result,

cd tests/
luacov

It generates text file luacov.report.out our final coverage report.

About

Updated Lua bindings to libgit2

http://luagit2.readthedocs.io/

License:MIT License


Languages

Language:C 59.0%Language:Lua 30.2%Language:C++ 9.8%Language:CMake 0.9%Language:Shell 0.1%