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 26a9ffb commit c3d9e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luarocks/build/treesitter-parser-cpp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function treesitter_parser.run(rockspec, no_install)
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 c3d9e21

Please sign in to comment.