We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f0e756 commit b86ffc6Copy full SHA for b86ffc6
xmake-rules.lua
@@ -201,8 +201,8 @@ rule("commonlibsf.plugin")
201
202
depend.on_changed(function()
203
local srcfiles, dstfiles = target:installfiles()
204
- if srcfiles and #srcfiles > 0 and dstfiles and #dstfiles > 0 then
205
- task.run("install")
+ if srcfiles and #srcfiles > 0 and dstfiles and #dstfiles > 0 then
+ task.run("install", { target = target:name() })
206
end
207
end, { changed = target:is_rebuilt(), files = { target:targetfile() } })
208
end)
0 commit comments