summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/macosx/prober.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-04 15:46:43 +0800
committerruki <[email protected]>2015-06-04 15:46:43 +0800
commit6c5fbedfe26db54b0bbb95fa9154ed759c7ad98f (patch)
treec7a1d2ba8ee4076e7576df79a53c1dfaadf7f14b /xmake/scripts/platform/macosx/prober.lua
parent83295bd3a1b27f844759aeadbbdc23f51e2f2d89 (diff)
rebuild compiler and linker
Diffstat (limited to 'xmake/scripts/platform/macosx/prober.lua')
-rw-r--r--xmake/scripts/platform/macosx/prober.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/xmake/scripts/platform/macosx/prober.lua b/xmake/scripts/platform/macosx/prober.lua
index 9e722d4d0..0c6aa4a67 100644
--- a/xmake/scripts/platform/macosx/prober.lua
+++ b/xmake/scripts/platform/macosx/prober.lua
@@ -17,7 +17,7 @@
-- Copyright (C) 2009 - 2015, ruki All rights reserved.
--
-- @author ruki
--- @file _prober.lua
+-- @file prober.lua
--
-- load modules
@@ -26,11 +26,11 @@ local path = require("base/path")
local utils = require("base/utils")
local string = require("base/string")
--- define module: _prober
-local _prober = _prober or {}
+-- define module: prober
+local prober = prober or {}
-- probe the architecture
-function _prober._probe_arch(configs)
+function prober._probe_arch(configs)
-- get the architecture
local arch = configs.arch
@@ -46,7 +46,7 @@ function _prober._probe_arch(configs)
end
-- probe the xcode application directory
-function _prober._probe_xcode(configs)
+function prober._probe_xcode(configs)
-- get the xcode directory
local xcode_dir = configs.xcode_dir
@@ -88,7 +88,7 @@ function _prober._probe_xcode(configs)
end
-- probe the xcode sdk version
-function _prober._probe_xcode_sdkver(configs)
+function prober._probe_xcode_sdkver(configs)
-- get the xcode sdk version
local xcode_sdkver = configs.xcode_sdkver
@@ -126,18 +126,18 @@ function _prober._probe_xcode_sdkver(configs)
end
-- probe the configure
-function _prober.done(configs, is_global)
+function prober.done(configs, is_global)
-- probe the architecture
- if not _prober._probe_arch(configs) then return end
+ if not prober._probe_arch(configs) then return end
-- probe the xcode application directory
- if not _prober._probe_xcode(configs) then return end
+ if not prober._probe_xcode(configs) then return end
-- probe the xcode sdk version
- if not is_global and not _prober._probe_xcode_sdkver(configs) then return end
+ if not is_global and not prober._probe_xcode_sdkver(configs) then return end
end
--- return module: _prober
-return _prober
+-- return module: prober
+return prober