mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-08 09:25:08 +01:00
special case of files created in the source directory in combination with update_outputs
This commit is contained in:
parent
be1d02c8d0
commit
5c289a931a
@ -1231,9 +1231,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:
|
||||
@ -1245,4 +1253,3 @@ def update_outputs(cls):
|
||||
|
||||
return cls
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user