mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
special case of files created in the source directory in combination with update_outputs
This commit is contained in:
parent
2048f0fb89
commit
d2fcc7b7be
@ -1101,9 +1101,17 @@ def update_outputs(cls):
|
||||
prev_sig = bld.task_sigs[self.uid()]
|
||||
if prev_sig == self.signature():
|
||||
for x in self.outputs:
|
||||
if not x.is_child_of(bld.bldnode):
|
||||
# special case of files created in the source directory
|
||||
# hash them here for convenience -_-
|
||||
x.sig = Utils.h_file(x.abspath())
|
||||
if not x.sig or bld.task_sigs[x.abspath()] != self.uid():
|
||||
return RUN_ME
|
||||
return SKIP_ME
|
||||
except OSError:
|
||||
pass
|
||||
except IOError:
|
||||
pass
|
||||
except KeyError:
|
||||
pass
|
||||
except IndexError:
|
||||
@ -1115,4 +1123,3 @@ def update_outputs(cls):
|
||||
|
||||
return cls
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user