diff options
| author | ruki <[email protected]> | 2019-04-19 23:55:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-19 17:30:05 +0800 |
| commit | 788fd7cdca9d681763a31df05b98a234733d3402 (patch) | |
| tree | 4669421fc15fda49d04ea59e3644723c6aea044f | |
| parent | 76fcea2d9a8a715c3ce347174ab7b3bae6d3914a (diff) | |
fix install tips
| -rw-r--r-- | xmake/actions/install/install.lua | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/xmake/actions/install/install.lua b/xmake/actions/install/install.lua index 4431f3d78..095b35a18 100644 --- a/xmake/actions/install/install.lua +++ b/xmake/actions/install/install.lua @@ -97,6 +97,15 @@ end -- do install target function _do_install_target(target) + -- get install directory + local installdir = target:installdir() + if not installdir then + return + end + + -- trace + print("installing to %s ...", installdir) + -- the scripts local scripts = { @@ -123,14 +132,8 @@ function _on_install_target(target) return end - -- get install directory - local installdir = target:installdir() - if not installdir then - return - end - -- trace - print("installing %s to %s ...", target:name(), installdir) + print("installing %s ...", target:name()) -- build target with rules local done = false |
