summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-04 22:35:12 +0800
committerruki <[email protected]>2019-11-04 09:31:13 +0800
commitf00316a42943a9a75303658f8d646d35f9e8d1b9 (patch)
treebb3ea07ba7b51393e6d3d7406c7944e25ce9c8ff /core/src
parent821ea827e0edce8625d47d3a45cbb2daa7dd32cc (diff)
fix core xmake.lua again
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index 64bac33fd..d0ac78909 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -47,6 +47,6 @@ target("demo")
-- copy target to the build directory
after_build(function (target)
- os.cp(target:targetfile(), path.join(get_config("buildir"), path.filename(target:targetfile())))
+ os.cp(target:targetfile(), "$(buildir)/xmake" .. (is_plat("windows") and ".exe" or ""))
end)