Skip to content

Commit

Permalink
Merge pull request #3 from Freed-Wu/lua
Browse files Browse the repository at this point in the history
fix copying lua/* to luadir
  • Loading branch information
waruqi authored Nov 21, 2024
2 parents 6ae9ef9 + 74956a5 commit dd5a84c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ function xmake.run(rockspec, no_install)

local libdir = path.lib_dir(rockspec.name, rockspec.version)
fs.copy_contents(dir.path("output", "lib"), libdir, "exec")
local luadir = path.lua_dir(rockspec.name, rockspec.version)
fs.copy_contents("lua", luadir)

return true
end
Expand Down

0 comments on commit dd5a84c

Please sign in to comment.