-
Notifications
You must be signed in to change notification settings - Fork 8
/
tree_sitter.gemspec
34 lines (27 loc) · 1.11 KB
/
tree_sitter.gemspec
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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) if !$LOAD_PATH.include?(lib)
require 'tree_sitter/version'
Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 3.0'
spec.authors = ['Firas al-Khalil', 'Derek Stride']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'https://www.github.com/Faveod/ruby-tree-sitter'
spec.license = 'MIT'
spec.name = 'ruby_tree_sitter'
spec.summary = 'Ruby bindings for Tree-Sitter'
spec.version = TreeSitter::VERSION
spec.metadata = {
'homepage_uri' => spec.homepage,
'source_code_uri' => spec.homepage,
'changelog_uri' => spec.homepage,
'documentation_uri' => 'https://faveod.github.io/ruby-tree-sitter/',
}
spec.extensions = %(ext/tree_sitter/extconf.rb)
spec.files = %w[LICENSE README.md tree_sitter.gemspec]
spec.files += Dir.glob('ext/**/*.{c,h,rb}')
spec.files += Dir.glob('lib/**/*.rb')
spec.require_paths = ['lib']
spec.add_dependency 'sorbet-runtime'
spec.add_dependency 'zeitwerk'
end