Add. http parser rockspec for Lua 5.4
This commit is contained in:
parent
e40f48895a
commit
dcbee2e72c
@ -51,6 +51,7 @@ before_script:
|
|||||||
- luarocks show lunitx > /dev/null 2>&1 || luarocks install lunitx
|
- luarocks show lunitx > /dev/null 2>&1 || luarocks install lunitx
|
||||||
- luarocks show luafilesystem > /dev/null 2>&1 || luarocks install luafilesystem
|
- luarocks show luafilesystem > /dev/null 2>&1 || luarocks install luafilesystem
|
||||||
- luarocks show dkjson > /dev/null 2>&1 || luarocks install dkjson --deps-mode=none
|
- luarocks show dkjson > /dev/null 2>&1 || luarocks install dkjson --deps-mode=none
|
||||||
|
- luarocks show lua-http-parser > /dev/null 2>&1 || luarocks install lua-http-parser || luarocks install test/deps/lua-http-parser-v2.7-1.rockspec
|
||||||
- luarocks show pegasus > /dev/null 2>&1 || luarocks install pegasus http.parser
|
- luarocks show pegasus > /dev/null 2>&1 || luarocks install pegasus http.parser
|
||||||
--server=http://luarocks.org/manifests/moteus
|
--server=http://luarocks.org/manifests/moteus
|
||||||
- luarocks show pegasus-router > /dev/null 2>&1 || luarocks install pegasus-router
|
- luarocks show pegasus-router > /dev/null 2>&1 || luarocks install pegasus-router
|
||||||
|
28
test/deps/lua-http-parser-v2.7-1.rockspec
Normal file
28
test/deps/lua-http-parser-v2.7-1.rockspec
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env lua
|
||||||
|
|
||||||
|
package = 'lua-http-parser'
|
||||||
|
version = 'v2.7-1'
|
||||||
|
source = {
|
||||||
|
url = 'gitrec+https://github.com/brimworks/lua-http-parser'
|
||||||
|
}
|
||||||
|
description = {
|
||||||
|
summary = "A Lua binding to Ryan Dahl's http request/response parser.",
|
||||||
|
detailed = '',
|
||||||
|
homepage = 'http://github.com/brimworks/lua-http-parser',
|
||||||
|
license = 'MIT', --as with Ryan's
|
||||||
|
}
|
||||||
|
dependencies = {
|
||||||
|
'lua >= 5.1, < 5.5',
|
||||||
|
'luarocks-fetch-gitrec',
|
||||||
|
}
|
||||||
|
build = {
|
||||||
|
type = 'builtin',
|
||||||
|
modules = {
|
||||||
|
['http.parser'] = {
|
||||||
|
sources = {
|
||||||
|
"http-parser/http_parser.c",
|
||||||
|
"lua-http-parser.c"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user