summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/ide_integration/assets/targetpath.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-06 23:23:21 +0800
committerruki <[email protected]>2025-02-06 23:23:21 +0800
commit051d645e3feb5db8061e513ed95a3ac2b61eb492 (patch)
tree115078e99329d88242dc1a038494ca4de1b3be30 /tests/projects/xmake_cli/ide_integration/assets/targetpath.lua
parent378ce254ca617f0d2772be7d7acd4ccc2428aef1 (diff)
improve ide integratio test
Diffstat (limited to 'tests/projects/xmake_cli/ide_integration/assets/targetpath.lua')
-rw-r--r--tests/projects/xmake_cli/ide_integration/assets/targetpath.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/projects/xmake_cli/ide_integration/assets/targetpath.lua b/tests/projects/xmake_cli/ide_integration/assets/targetpath.lua
index 4217c5172..2e8c65fe9 100644
--- a/tests/projects/xmake_cli/ide_integration/assets/targetpath.lua
+++ b/tests/projects/xmake_cli/ide_integration/assets/targetpath.lua
@@ -1,5 +1,6 @@
import("core.project.config")
import("core.project.project")
+import("lib.lni")
function main (targetname)
config.load()
@@ -20,16 +21,12 @@ function main (targetname)
end
end
end
-
- print("__begin__")
if target then
local targetfile = target:targetfile()
if not path.is_absolute(targetfile) then
targetfile = path.absolute(targetfile, os.projectdir())
end
- print(targetfile)
+ lni.result = targetfile
end
-
- print("__end__")
end