summaryrefslogtreecommitdiff
path: root/xmake/modules/target/action/install/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-05 22:41:06 +0800
committerruki <[email protected]>2021-03-05 22:41:06 +0800
commit97e94809e0ffb871b2e8a7554ad3eb54a034c525 (patch)
tree1f81d3047ff4b7cf615df5dacd044d606fadd5b8 /xmake/modules/target/action/install/main.lua
parentecb7b50da9471f2ebc5d44d01c72e7860776e2c9 (diff)
add is_enabled
Diffstat (limited to 'xmake/modules/target/action/install/main.lua')
-rw-r--r--xmake/modules/target/action/install/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/target/action/install/main.lua b/xmake/modules/target/action/install/main.lua
index 64dec9f18..289d258f0 100644
--- a/xmake/modules/target/action/install/main.lua
+++ b/xmake/modules/target/action/install/main.lua
@@ -47,7 +47,7 @@ function main(target, opt)
print("installing %s to %s ..", target:name(), installdir)
-- call script
- if not target:isphony() then
+ if not target:is_phony() then
local install_style = target:is_plat("windows", "mingw") and "windows" or "unix"
local script = import(install_style, {anonymous = true})["install_" .. target:kind()]
if script then