summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-30 17:37:10 +0800
committerruki <[email protected]>2015-06-30 17:37:10 +0800
commit739a215a2ef11cfe1c8363e965ee19f82d41987d (patch)
treeee55311040c4e98b5e7462510b9f8886fc530f93 /xmake/scripts/action/_package.lua
parenta9da9dee9f83abfe04ffbbd865156494c135161e (diff)
add packages and directories api
Diffstat (limited to 'xmake/scripts/action/_package.lua')
-rw-r--r--xmake/scripts/action/_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/action/_package.lua b/xmake/scripts/action/_package.lua
index 3fc9f6e4b..18d7d5024 100644
--- a/xmake/scripts/action/_package.lua
+++ b/xmake/scripts/action/_package.lua
@@ -65,7 +65,7 @@ function _package._build(arch, target_name)
-- rebuild it
if os.execute(string.format("xmake -r -P %s %s", xmake._PROJECT_DIR, target_name)) ~= 0 then
-- errors
- utils.error("build %s failed!", utils.ifelse(target_name, target_name, "all"))
+ utils.error("build failed!")
return false
end