https://github.com/satyendrabanjare/luagit2
Updated Lua bindings to libgit2
https://github.com/satyendrabanjare/luagit2
libgit2 lua lua-bindings lua-library luac-api
Last synced: about 1 year ago
JSON representation
Updated Lua bindings to libgit2
- Host: GitHub
- URL: https://github.com/satyendrabanjare/luagit2
- Owner: SatyendraBanjare
- License: mit
- Created: 2018-03-09T18:15:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T14:05:15.000Z (almost 7 years ago)
- Last Synced: 2025-03-28T01:26:20.379Z (about 1 year ago)
- Topics: libgit2, lua, lua-bindings, lua-library, luac-api
- Language: C
- Homepage: http://luagit2.readthedocs.io/
- Size: 1000 KB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Luagit2
(for Lua == 5.3 )
Updated Lua bindings to libgit2 written using [LuaC-API](https://www.lua.org/pil/24.html) and
tests written using [Busted](http://olivinelabs.com/busted/)
and coverage using [luacov](https://luarocks.org/modules/mpeterv/luacov/0.13.0-1).
Though the project is still under development, you can try, install and test the project using:
## Installation
- First, install [libgit2](https://github.com/libgit2/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.