Added lunitx dependency and failing test for issue #17

This commit is contained in:
Wouter Scherphof
2013-04-02 12:07:49 +02:00
parent 3ec1a7c097
commit ada9731719
2 changed files with 57 additions and 0 deletions

27
htmlparser-0.2-1.rockspec Normal file
View File

@@ -0,0 +1,27 @@
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",
"lunitx >= 0.6"
}
build = {
type = "builtin",
modules = {
htmlparser = "src/htmlparser.lua",
["htmlparser.ElementNode"] = "src/htmlparser/ElementNode.lua",
["htmlparser.voidelements"] = "src/htmlparser/voidelements.lua"
}
}