lua-htmlparser/rockspecs/htmlparser-0.1-1.rockspec
2017-07-14 13:26:57 +07:00

26 lines
805 B
Lua

package = "htmlparser"
version = "0.1-1"
source = {
url = "git://github.com/wscherphof/lua-htmlparser.git",
branch = "v0.1"
}
description = {
summary = "Parse HTML text into a tree of elements with selectors",
detailed = [[
Call parse() to build up a tree of element nodes. Each node in the tree, including the root node that is returned by parse(), supports a basic set of jQuery-like selectors. Or you could walk the tree by hand.
]],
homepage = "http://wscherphof.github.com/lua-htmlparser/",
license = "MIT"
}
dependencies = {
"lua >= 5.2",
"set >= 0.1"
}
build = {
type = "builtin",
modules = {
htmlparser = "src/htmlparser.lua",
["htmlparser.ElementNode"] = "src/htmlparser/ElementNode.lua",
["htmlparser.voidelements"] = "src/htmlparser/voidelements.lua"
}
}