-
Notifications
You must be signed in to change notification settings - Fork 3
/
luacs.rockspec
39 lines (37 loc) · 978 Bytes
/
luacs.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
-- -*- lua -*-
local package_version = "1.0.3"
package = "LuaCS"
version = package_version .. "-0"
description = {
summary = "LuaCS is a Lua library for parsing CSS Selectors",
detailed = [[
LuaCS provides CSS Selectors parser.
LuaCS also provides CSS Selectors to XPaths converter.
]],
license = "MIT",
homepage = "https://clear-code.github.io/luacs/",
-- Since 3.0
-- issues_url = "https://github.com/clear-code/luacs/issues",
maintainer = "Kouhei Sutou <kou@clear-code.com>",
-- Since 3.0
-- labels = {"css"},
}
dependencies = {
"luautf8",
}
source = {
url = "https://github.com/clear-code/luacs/archive/" .. package_version .. ".zip",
dir = "luacs-" .. package_version,
}
build = {
type = "builtin",
modules = {
["luacs"] = "luacs.lua",
["luacs.parser"] = "luacs/parser.lua",
["luacs.source"] = "luacs/source.lua",
["luacs.xpath-converter"] = "luacs/xpath-converter.lua",
},
copy_directories = {
"docs",
}
}