This website requires JavaScript.
CODE
0x495fab29
Explore
Sign in
forks
/
apenwarr-redo
Watch
1
Star
0
Fork
You've already forked apenwarr-redo
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
f702417ef3
apenwarr-redo
/
clean.do
3 lines
64 B
Text
Raw
Normal View
History
Unescape
Escape
Support for default.*.do rules. I *think* this was the last missing part from djb's spec. Certainly it's an important one for any real project.
2010-11-16 01:59:32 -08:00
redo t/clean
A whole bunch of cleanups to state.Lock. Now t/curse passes again when parallelized (except for the countall mismatch, since we haven't fixed the source of that problem yet). At least it's consistent now. There's a bunch of stuff rearranged in here, but the actual important problem was that we were doing unlink() on the lock fifo even if ENXIO, which meant a reader could connect in between ENXIO and unlink(), and thus never get notified of the disconnection. This would cause the build to randomly freeze.
2010-11-19 06:04:45 -08:00
rm -f *~ .*~ */*~ */.*~ *.pyc
When auto-choosing a .redo dir, prefer ones uphill that already exist. So if we're in redo/t/ and running 'redo hello', we'll detect redo/.redo and use that one rather than creating a new redo/t/.redo directory. The downside of this is we get slightly different behaviour if the *first* thing you build isn't from the root. Probably that's bad, but it should hopefully be rare.
2010-11-12 23:20:37 -08:00
rm -rf .redo t/.redo
Reference in a new issue
Copy permalink