lua package manager
This is based on luarocks
.
- lua 5.1+
- luarocks
- bash
- clone the repo
- cd lpm
- ./install.sh
- add
$HOME/.local/bin
to your $PATH
Given a project, create a package.json
with
- name
- dependencies
an example file looks like
{
"name": "test-proj",
"dependencies": {
"luash": {
"version": "0.1",
"url": "http://luarocks.org/dev"
},
"otp": {
"version": "0.1-3"
},
"json-lua": ""
}
}
and then run lpm
- improve distribution, make it standalone
- add cli commands like
install
,remove
- add semantic version
- support non-unix platform