Add a new redo-ood command.
Prints the list of existing but out-of-date targets.
This commit is contained in:
parent
df85b3d163
commit
3b19ccad9f
2 changed files with 18 additions and 0 deletions
1
redo-ood
Symbolic link
1
redo-ood
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
redo-ood.py
|
||||||
17
redo-ood.py
Executable file
17
redo-ood.py
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/python
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
import vars_init
|
||||||
|
vars_init.init([])
|
||||||
|
|
||||||
|
import vars, state, deps
|
||||||
|
from log import err
|
||||||
|
|
||||||
|
if len(sys.argv[1:]) != 0:
|
||||||
|
err('%s: no arguments expected.\n' % sys.argv[0])
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
for f in state.files():
|
||||||
|
if f.is_generated and f.read_stamp() != state.STAMP_MISSING:
|
||||||
|
if deps.isdirty(f, depth='', max_changed=vars.RUNID):
|
||||||
|
print f.nicename()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue