summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-22 22:56:49 +0800
committerruki <[email protected]>2017-09-22 11:40:59 +0800
commit5058a1e7b723dc2d40eaa7f294729a0764621fc8 (patch)
tree299529d6648317065bbdaf0645123e6824456380 /core/src
parentda8837f9c0f7bd3cb1bc9d7fa96be6049145e73e (diff)
improve install and ci script
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index a3ab5e003..41a51586d 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -38,3 +38,8 @@ target("demo")
add_links("pthread", "dl", "m", "c")
end
+ -- copy target file to 'build\xmake'
+ after_build(function (target)
+ os.cp(target:targetfile(), "$(buildir)")
+ end)
+