-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlua-tree-sitter-rolling-1.rockspec
54 lines (49 loc) · 1.09 KB
/
lua-tree-sitter-rolling-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
rockspec_format = '3.0'
package = 'lua-tree-sitter'
version = 'rolling-1'
description = {
summary = 'Lua bindings for Tree-sitter',
detailed = 'Lua bindings for Tree-sitter',
license = 'MIT',
homepage = 'https://github.com/xcb-xwii/lua-tree-sitter',
issues_url = 'https://github.com/xcb-xwii/lua-tree-sitter/issues',
-- maintainer = '',
-- labels = '',
}
external_dependencies = {
TREE_SITTER = {
header = 'tree_sitter/api.h',
},
}
source = {
url = 'git+https://github.com/xcb-xwii/lua-tree-sitter'
}
build = {
type = 'builtin',
modules = {
['lua_tree_sitter'] = {
libdirs = { '$(TREE_SITTER_LIBDIR)' },
incdirs = { '$(TREE_SITTER_INCDIR)', 'include' },
libraries = { 'tree-sitter' },
sources = {
'src/init.c',
'src/language.c',
'src/node.c',
'src/parser.c',
'src/point.c',
'src/query/init.c',
'src/query/capture.c',
'src/query/cursor.c',
'src/query/match.c',
'src/query/quantified_capture.c',
'src/query/runner.c',
'src/range/init.c',
'src/range/array.c',
'src/tree.c',
'src/util.c',
},
},
},
copy_directories = {
},
}