diff options
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/target/action/clean/main.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/target/action/install/main.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/target/action/uninstall/main.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/target/action/clean/main.lua b/xmake/modules/target/action/clean/main.lua index 443c3bd0a..8cbc9599c 100644 --- a/xmake/modules/target/action/clean/main.lua +++ b/xmake/modules/target/action/clean/main.lua @@ -26,7 +26,7 @@ import("private.action.clean.remove_files") function main(target) -- is phony? - if target:isphony() then + if target:is_phony() then return end 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 diff --git a/xmake/modules/target/action/uninstall/main.lua b/xmake/modules/target/action/uninstall/main.lua index 5e7e26a9b..cc5feb3ac 100644 --- a/xmake/modules/target/action/uninstall/main.lua +++ b/xmake/modules/target/action/uninstall/main.lua @@ -39,7 +39,7 @@ function main(target, opt) print("uninstalling %s from %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})["uninstall_" .. target:kind()] if script then |
