summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-21 22:47:28 +0800
committerruki <[email protected]>2018-04-21 22:47:28 +0800
commite189adce6d8d836e6b8aecf43f10f1cff3949c79 (patch)
tree88bf008d93ef4f189e7978cf0bf10fa6caeb9af7 /core/src
parent40880ecda5cc964fdfd97539c4272eb447dcd0c2 (diff)
fix travis-ci bug
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index e373e53f3..3184c0240 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -38,4 +38,8 @@ target("demo")
add_links("pthread", "dl", "m", "c")
end
+ -- copy target to the build directory
+ after_build(function (target)
+ os.cp(target:targetfile(), "$(buildir)")
+ end)