lua-htmlparser/rockspecs/htmlparser-scm-0.rockspec

28 lines
835 B
Plaintext
Raw Normal View History

package = "htmlparser"
version = "scm-0"
source = {
2017-04-08 18:49:51 +00:00
url = "https://github.com/msva/lua-htmlparser",
branch = "master"
}
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://msva.github.io/lua-htmlparser/",
license = "LGPL+"
}
dependencies = {
2017-04-19 03:44:20 +00:00
"lua >= 5.1",
"lunitx >= 0.6"
}
build = {
type = "builtin",
copy_directories = {"doc", "tst"},
modules = {
htmlparser = "src/htmlparser.lua",
["htmlparser.ElementNode"] = "src/htmlparser/ElementNode.lua",
["htmlparser.voidelements"] = "src/htmlparser/voidelements.lua"
}
}