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
2e71e20ce2
apenwarr-redo
/
clean.do
3 lines
88 B
Text
Raw
Normal View
History
Unescape
Escape
Complicate the test build a bit to show unnecessary dependency re-checking. './redo -d test' reveals that we check and re-check things like CC and LD even when they're children of objects that don't need to be rebuilt, and who we've already checked earlier in the build cycle. We need to be a little smarter about pruning if we want dependency checking to be fast.
2010-11-12 22:15:34 -08:00
rm -f t/hello t/[by]ellow t/*.o *~ .*~ t/*~ t/.*~ *.pyc t/CC t/LD
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