Make apenwarr/redo installable on windows and work with uv tool install
The problem is if someone accidentally creates a file called "test" *before* .redo/gen^test got created, then 'redo test' would do nothing, because redo would assume it's a source file instead of a destination, according to djb's rule. But in this case, we know it's not, since test.do exists, so let's build it anyway. The problem is related to .PHONY rules in make. This workaround is kind of cheating, because we can't safely apply that rule if foo and default.do exist, even though default.do can be used to build foo. This probably won't happen very often... except with minimal/do, which creates these empty files even when it shouldn't. I'm not sure if I should try to fix that or not, though. |
||
|---|---|---|
| minimal | ||
| t | ||
| .gitignore | ||
| all.do | ||
| clean.do | ||
| helpers.py | ||
| jwack.py | ||
| Makefile | ||
| options.py | ||
| redo | ||
| redo-ifchange | ||
| redo-ifchange.py | ||
| redo-ifcreate | ||
| redo-ifcreate.py | ||
| redo.py | ||
| runtests.do | ||
| test.do | ||
| vars.py | ||
| wvtest.sh | ||
| wvtestrun | ||