| 1 | DOIT_CONFIG = {'action_string_formatting': 'both'} |
| 2 | |
| 3 | def task_report_deps(): |
| 4 | """ |
| 5 | Report dependencies and changed dependencies to a file. |
| 6 | """ |
| 7 | return { |
| 8 | 'file_dep': ['req.in', 'req-dev.in'], |
| 9 | 'actions': [ |
| 10 | # New style formatting |
| 11 | 'echo D: {dependencies}, CH: {changed} > {targets}', |
| 12 | # Old style formatting |
| 13 | 'cat %(targets)s', |
| 14 | ], |
| 15 | 'targets': ['report.txt'], |
| 16 | } |
| 17 |