-
Notifications
You must be signed in to change notification settings - Fork 4
/
expadom-scm-1.rockspec
56 lines (50 loc) · 1.97 KB
/
expadom-scm-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
local package_name = "expadom"
local package_version = "scm"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name
local git_checkout = package_version == "scm" and "main" or package_version
package = package_name
version = package_version .. "-" .. rockspec_revision
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout
}
description = {
summary = "Expat based XML DOM level 2 handling for Lua",
homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
license = "MIT/X11",
maintainer = "[email protected]",
detailed = [[
Expadom is a library on top of LuaExpat for handling XML documents. It
implements the XML DOM level 2 model.
]]
}
dependencies = {
"luaexpat >= 1.4.0",
"compat53", -- for the UTF-8 module
}
build = {
type = "builtin",
modules = {
["expadom.Attr"] = "src/expadom/Attr.lua",
["expadom.CDATASection"] = "src/expadom/CDATASection.lua",
["expadom.CharacterData"] = "src/expadom/CharacterData.lua",
["expadom.class"] = "src/expadom/class.lua",
["expadom.Comment"] = "src/expadom/Comment.lua",
["expadom.constants"] = "src/expadom/constants.lua",
["expadom.Document"] = "src/expadom/Document.lua",
["expadom.DocumentFragment"] = "src/expadom/DocumentFragment.lua",
["expadom.DocumentType"] = "src/expadom/DocumentType.lua",
["expadom.DOMImplementation"] = "src/expadom/DOMImplementation.lua",
["expadom.Element"] = "src/expadom/Element.lua",
["expadom.init"] = "src/expadom/init.lua",
["expadom.NamedNodeMap"] = "src/expadom/NamedNodeMap.lua",
["expadom.Node"] = "src/expadom/Node.lua",
["expadom.NodeList"] = "src/expadom/NodeList.lua",
["expadom.ProcessingInstruction"] = "src/expadom/ProcessingInstruction.lua",
["expadom.Text"] = "src/expadom/Text.lua",
["expadom.xmlutils"] = "src/expadom/xmlutils.lua",
},
copy_directories = { "docs" }
}