summaryrefslogtreecommitdiff
path: root/xmake/core/base/deprecated.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-03 09:44:28 +0800
committerruki <[email protected]>2016-06-03 09:44:28 +0800
commite3e2def67c94826326a150859f45a6898fdfc405 (patch)
tree28163fae4f8fe1da8ee665465d15c1c003a01362 /xmake/core/base/deprecated.lua
parentac478a1b8661b5470830743f6b495235747eed61 (diff)
add lipo for package macro
Diffstat (limited to 'xmake/core/base/deprecated.lua')
-rw-r--r--xmake/core/base/deprecated.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/core/base/deprecated.lua b/xmake/core/base/deprecated.lua
index cb50c6fc6..43fe4755b 100644
--- a/xmake/core/base/deprecated.lua
+++ b/xmake/core/base/deprecated.lua
@@ -50,10 +50,14 @@ function deprecated.dump()
deprecated._ENTRIES = deprecated._ENTRIES or {}
-- dump all
- print("")
local index = 0
for old, new in pairs(deprecated._ENTRIES) do
+ -- trace newline
+ if index == 0 then
+ print("")
+ end
+
-- trace
utils.printf("deprecated: please uses %s instead of %s", new, old)