We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4da094 commit 1a758e5Copy full SHA for 1a758e5
xmake/plugins/show/info/target.lua
@@ -136,7 +136,10 @@ function _show_target(target)
136
print("The information of target(%s):", target:name())
137
cprint(" ${color.dump.string}at${clear}: %s", path.join(target:scriptdir(), "xmake.lua"))
138
cprint(" ${color.dump.string}kind${clear}: %s", target:kind())
139
- cprint(" ${color.dump.string}targetfile${clear}: %s", target:targetfile())
+ local targetfile = target:targetfile()
140
+ if targetfile then
141
+ cprint(" ${color.dump.string}targetfile${clear}: %s", targetfile)
142
+ end
143
local deps = target:get("deps")
144
if deps then
145
cprint(" ${color.dump.string}deps${clear}:")
0 commit comments