summaryrefslogtreecommitdiff
path: root/xmake/modules/core/project/depend.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/core/project/depend.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/modules/core/project/depend.lua')
-rw-r--r--xmake/modules/core/project/depend.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua
index c0b27c67a..df50c40d6 100644
--- a/xmake/modules/core/project/depend.lua
+++ b/xmake/modules/core/project/depend.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
@@ -24,7 +24,7 @@ import("private.tools.cl.parse_deps_json", {alias = "parse_deps_cl_json"})
import("private.tools.rc.parse_deps", {alias = "parse_deps_rc"})
import("private.tools.gcc.parse_deps", {alias = "parse_deps_gcc"})
--- load depfiles
+-- load depfiles
function _load_depfiles(parser, dependinfo, depfiles)
depfiles = parser(depfiles)
if depfiles then
@@ -36,7 +36,7 @@ function _load_depfiles(parser, dependinfo, depfiles)
end
end
--- load dependent info from the given file (.d)
+-- load dependent info from the given file (.d)
function load(dependfile)
if os.isfile(dependfile) then
@@ -70,7 +70,7 @@ end
-- the dependent info is changed?
--
-- if not depend.is_changed(dependinfo, {filemtime = os.mtime(objectfile), values = {...}}) then
--- return
+-- return
-- end
--
function is_changed(dependinfo, opt)
@@ -106,7 +106,7 @@ function is_changed(dependinfo, opt)
end
for idx, depvalue in ipairs(depvalues) do
local optvalue = optvalues[idx]
- local deptype = type(depvalue)
+ local deptype = type(depvalue)
local opttype = type(optvalue)
if deptype ~= opttype then
return true