Skip to content

Commit

Permalink
fix(windows): copy dll parsers to parser directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Aug 26, 2024
1 parent 62cf58e commit ff3648a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luarocks/build/treesitter-parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Note: tree-sitter 0.22.2 or later is required to build this parser.
local dest = dir.path(path.install_dir(rockspec.name, rockspec.version), "parser")
fs.make_dir(dest)
for _, src in pairs(fs.list_dir(parser_dir)) do
if src:find("%.so$") ~= nil then
if src:find("%.so$") ~= nil or src:find("%.dll$") ~= nil then
fs.copy(dir.path(parser_dir, src), dest)
end
end
Expand Down

0 comments on commit ff3648a

Please sign in to comment.