Skip to content

Commit

Permalink
version: bump to 0.20.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
stackmystack committed Dec 14, 2023
1 parent 2c9612f commit 5591c76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 deletions.
42 changes: 0 additions & 42 deletions ext/tree_sitter/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,48 +53,6 @@ def env_var_on?(var)
repo.include_and_lib_dirs
end

# TREESITTER_SPEC = Bundler.load_gemspec('../../../../tree_sitter.gemspec')

# # def version = TREESITTER_SPEC.version.gsub(/\A(\d+\.\d+\.\d+)(\.\d+)?\z/, '\1')

# def version = '0.20.8'

# LINUX_PLATFORM_REGEX = /linux/
# DARWIN_PLATFORM_REGEX = /darwin/

# def platform = RUBY_PLATFORM

# def darwin?
# !!(platform =~ DARWIN_PLATFORM_REGEX)
# end

# def dll_ext
# darwin? ? 'dylib' : 'so'
# end

# def staging_path
# '../../stage/lib/tree_sitter'
# end

# def downloaded_dll_path
# "tree-sitter-#{version}"
# end

# def add_tree_sitter_dll_to_gem
# puts ">>>>>>>>>>>>> #{`pwd`}"
# path = "#{downloaded_dll_path}/libtree-sitter*.#{dll_ext}"
# files =
# Dir.glob(path)
# .map { |f| Pathname(f) }
# .filter { |f| !f.symlink? && f.file? }
# dll = files.first
# dst = Pathname(staging_path) / "libtree-sitter.#{dll_ext}"
# FileUtils.cp(dll, dst)
# TREESITTER_SPEC.files << dst
# end

# add_tree_sitter_dll_to_gem

# ################################## #
# Generate Makefile #
# ################################## #
Expand Down
2 changes: 1 addition & 1 deletion lib/tree_sitter/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module TreeSitter
TREESITTER_VERSION = '0.20.8'
VERSION = "#{TREESITTER_VERSION}.2".freeze
VERSION = "#{TREESITTER_VERSION}.3".freeze
end

0 comments on commit 5591c76

Please sign in to comment.