diff options
| author | ruki <[email protected]> | 2020-09-18 22:36:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-18 22:36:07 +0800 |
| commit | c24f886427d8e8e28d558366946d512a7e92b428 (patch) | |
| tree | 22ea7bc684331f6e8aad4d35e599f33ed52d17ff /xmake/modules/detect | |
| parent | 97fdf4e120b14782e0f99d3e49634fc2432e039d (diff) | |
improve checking tips
Diffstat (limited to 'xmake/modules/detect')
| -rw-r--r-- | xmake/modules/detect/sdks/find_android_sdk.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_cuda.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_dotnet.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_mingw.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_ndk.lua | 8 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_qt.lua | 8 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_vcpkgdir.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_wdk.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/detect/sdks/find_xcode.lua | 14 |
9 files changed, 30 insertions, 30 deletions
diff --git a/xmake/modules/detect/sdks/find_android_sdk.lua b/xmake/modules/detect/sdks/find_android_sdk.lua index b723c1859..3495697b8 100644 --- a/xmake/modules/detect/sdks/find_android_sdk.lua +++ b/xmake/modules/detect/sdks/find_android_sdk.lua @@ -110,14 +110,14 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Android SDK directory ... ${color.success}%s", sdk.sdkdir) - cprint("checking for the Build Tools Version of Android SDK ... ${color.success}%s", sdk.build_toolver) + cprint("checking for Android SDK directory ... ${color.success}%s", sdk.sdkdir) + cprint("checking for Build Tools Version of Android SDK ... ${color.success}%s", sdk.build_toolver) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Android SDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for Android SDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_cuda.lua b/xmake/modules/detect/sdks/find_cuda.lua index f02936860..dc0f7ba88 100644 --- a/xmake/modules/detect/sdks/find_cuda.lua +++ b/xmake/modules/detect/sdks/find_cuda.lua @@ -122,13 +122,13 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Cuda SDK directory ... ${color.success}%s", cuda.sdkdir) + cprint("checking for Cuda SDK directory ... ${color.success}%s", cuda.sdkdir) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Cuda SDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for Cuda SDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_dotnet.lua b/xmake/modules/detect/sdks/find_dotnet.lua index e974259ee..7ef14189b 100644 --- a/xmake/modules/detect/sdks/find_dotnet.lua +++ b/xmake/modules/detect/sdks/find_dotnet.lua @@ -113,14 +113,14 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the .Net SDK directory ... ${color.success}%s", dotnet.sdkdir) - cprint("checking for the .Net SDK version ... ${color.success}%s", dotnet.sdkver) + cprint("checking for .Net SDK directory ... ${color.success}%s", dotnet.sdkdir) + cprint("checking for .Net SDK version ... ${color.success}%s", dotnet.sdkver) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the .Net SDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for .Net SDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_mingw.lua b/xmake/modules/detect/sdks/find_mingw.lua index 9ec58de85..cc0a7eaa7 100644 --- a/xmake/modules/detect/sdks/find_mingw.lua +++ b/xmake/modules/detect/sdks/find_mingw.lua @@ -119,13 +119,13 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the mingw directory ... ${color.success}%s", mingw.sdkdir) + cprint("checking for mingw directory ... ${color.success}%s", mingw.sdkdir) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the mingw directory ... ${color.nothing}${text.nothing}") + cprint("checking for mingw directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_ndk.lua b/xmake/modules/detect/sdks/find_ndk.lua index f0ee66676..626191cf8 100644 --- a/xmake/modules/detect/sdks/find_ndk.lua +++ b/xmake/modules/detect/sdks/find_ndk.lua @@ -216,15 +216,15 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the NDK directory ... ${color.success}%s", ndk.sdkdir) - cprint("checking for the SDK version of NDK ... ${color.success}%s", ndk.sdkver) - cprint("checking for the toolchains version of NDK ... ${color.success}%s", ndk.toolchains_ver) + cprint("checking for NDK directory ... ${color.success}%s", ndk.sdkdir) + cprint("checking for SDK version of NDK ... ${color.success}%s", ndk.sdkver) + cprint("checking for toolchains version of NDK ... ${color.success}%s", ndk.toolchains_ver) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the NDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for NDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua index 1872a9df0..d959de9ef 100644 --- a/xmake/modules/detect/sdks/find_qt.lua +++ b/xmake/modules/detect/sdks/find_qt.lua @@ -207,18 +207,18 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Qt SDK directory ... ${color.success}%s", qt.sdkdir) + cprint("checking for Qt SDK directory ... ${color.success}%s", qt.sdkdir) if qt.sdkver then - cprint("checking for the Qt SDK version ... ${color.success}%s", qt.sdkver) + cprint("checking for Qt SDK version ... ${color.success}%s", qt.sdkver) else - cprint("checking for the Qt SDK version ... ${color.nothing}${text.nothing}") + cprint("checking for Qt SDK version ... ${color.nothing}${text.nothing}") end end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Qt SDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for Qt SDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_vcpkgdir.lua b/xmake/modules/detect/sdks/find_vcpkgdir.lua index 0c2f50d45..ce03cdd8e 100644 --- a/xmake/modules/detect/sdks/find_vcpkgdir.lua +++ b/xmake/modules/detect/sdks/find_vcpkgdir.lua @@ -87,13 +87,13 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the vcpkg directory ... ${color.success}%s", vcpkg) + cprint("checking for vcpkg directory ... ${color.success}%s", vcpkg) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the vcpkg directory ... ${color.nothing}${text.nothing}") + cprint("checking for vcpkg directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_wdk.lua b/xmake/modules/detect/sdks/find_wdk.lua index 16796d301..cc6819c04 100644 --- a/xmake/modules/detect/sdks/find_wdk.lua +++ b/xmake/modules/detect/sdks/find_wdk.lua @@ -176,14 +176,14 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the WDK directory ... ${color.success}%s", wdk.sdkdir) - cprint("checking for the WDK version ... ${color.success}%s", wdk.sdkver) + cprint("checking for WDK directory ... ${color.success}%s", wdk.sdkdir) + cprint("checking for WDK version ... ${color.success}%s", wdk.sdkver) end else -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the WDK directory ... ${color.nothing}${text.nothing}") + cprint("checking for WDK directory ... ${color.nothing}${text.nothing}") end end diff --git a/xmake/modules/detect/sdks/find_xcode.lua b/xmake/modules/detect/sdks/find_xcode.lua index a1ab709df..5a2f4109a 100644 --- a/xmake/modules/detect/sdks/find_xcode.lua +++ b/xmake/modules/detect/sdks/find_xcode.lua @@ -165,18 +165,18 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Xcode directory ... ${color.success}%s", xcode.sdkdir) - cprint("checking for the SDK version of Xcode ... ${color.success}%s", xcode.sdkver) + cprint("checking for Xcode directory ... ${color.success}%s", xcode.sdkdir) + cprint("checking for SDK version of Xcode ... ${color.success}%s", xcode.sdkver) if xcode.codesign_identity then - cprint("checking for the Codesign Identity of Xcode ... ${color.success}%s", xcode.codesign_identity) + cprint("checking for Codesign Identity of Xcode ... ${color.success}%s", xcode.codesign_identity) else - cprint("checking for the Codesign Identity of Xcode ... ${color.nothing}${text.nothing}") + cprint("checking for Codesign Identity of Xcode ... ${color.nothing}${text.nothing}") end if plat == "iphoneos" then if xcode.mobile_provision then - cprint("checking for the Mobile Provision of Xcode ... ${color.success}%s", xcode.mobile_provision) + cprint("checking for Mobile Provision of Xcode ... ${color.success}%s", xcode.mobile_provision) else - cprint("checking for the Mobile Provision of Xcode ... ${color.nothing}${text.nothing}") + cprint("checking for Mobile Provision of Xcode ... ${color.nothing}${text.nothing}") end end end @@ -184,7 +184,7 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then - cprint("checking for the Xcode directory ... ${color.nothing}${text.nothing}") + cprint("checking for Xcode directory ... ${color.nothing}${text.nothing}") end end |
