add __tb_debug__ to tbox

pull/3/head
ruki 6 years ago
parent a6c25f0efb
commit d04f589800
  1. 6
      packages/t/tbox/xmake.lua

@ -11,6 +11,12 @@ package("tbox")
add_versions("v1.6.2", "5236090b80374b812c136c7fe6b8c694418cbfc9c0a820ec2ba35ff553078c7b")
add_versions("v1.6.3", "bc5a957cdb1610c19f0cf94497ad114a0e01fd7d569777e9cb2133c513ef6baa")
on_load(function (package)
if package:debug() then
package:addvar("defines", "__tb_debug__")
end
end)
on_install(function (package)
import("package.tools.xmake").install(package, {demo = false})
end)

Loading…
Cancel
Save