summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/find_toolname.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-25 00:33:07 +0800
committerruki <[email protected]>2020-09-25 00:33:07 +0800
commit90af4956738036172984f068502624bbc515cae7 (patch)
tree7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/modules/lib/detect/find_toolname.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/modules/lib/detect/find_toolname.lua')
-rw-r--r--xmake/modules/lib/detect/find_toolname.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/lib/detect/find_toolname.lua b/xmake/modules/lib/detect/find_toolname.lua
index 97c9c888a..8901af1c0 100644
--- a/xmake/modules/lib/detect/find_toolname.lua
+++ b/xmake/modules/lib/detect/find_toolname.lua
@@ -11,7 +11,7 @@
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
---
+--
-- Copyright (C) 2015-2020, TBOOX Open Source Group.
--
-- @author ruki
@@ -21,7 +21,7 @@
-- imports
import("core.sandbox.module")
--- find tool name from the given program
+-- find tool name from the given program
function _find(program)
-- attempt to find it directly first
@@ -68,7 +68,7 @@ end
-- find tool name
--
--- e.g.
+-- e.g.
-- "xcrun -sdk macosx clang": clang
-- "/usr/bin/arm-linux-gcc": gcc
-- "link.exe -lib": link
@@ -93,7 +93,7 @@ function main(program)
-- find the tool name
toolname = _find(program)
-
+
-- save result to cache
toolnames[program] = ifelse(toolname, toolname, false)
_g._TOOLNAMES = toolnames