fixed incompatibility with old LR

This commit is contained in:
mpeterv
2014-01-06 19:57:02 +04:00
parent 87023b7009
commit 7b83cbfce1
2 changed files with 23 additions and 1 deletions

View File

@@ -3,6 +3,6 @@ language: c
install:
- sudo apt-get install luarocks
- sudo luarocks install busted
- sudo luarocks make rockspecs/largparse-wip-1.rockspec
- sudo luarocks make rockspecs/largparse-lrcompat-1.rockspec
script: "busted spec"

View File

@@ -0,0 +1,22 @@
package = "largparse"
version = "lrcompat-1"
source = {
url = "src"
}
description = {
summary = "*** please specify description summary ***",
detailed = "*** please enter a detailed description ***",
homepage = "*** please enter a project homepage ***",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1, < 5.3"
}
build = {
type = "builtin",
modules = {
largparse = "src/largparse.lua",
["largparse.state"] = "src/state.lua",
["largparse.utils"] = "src/utils.lua"
}
}