I've gotten tired of rebuilding parrot only to find out, once again, that I've broken it with local changes. Thus, my 'reparrot' script:
#!/bin/bash
cd ~/code/parrot
make realclean
svn up
if svn status | grep -E "^(M|C)"
then
echo Local changes found. Aborting.
exit
fi
perl Configure.pl && make test;
cd languages/perl6/ && make perl6 && make spectest
This should save me a lot of grief.
Other than the ability to barf on local changes, this is a subset of the already existing languages/perl6/tools/rebase_rakudo.pl . Would you mind merging your idea into that script, for example by adding a new option?
Re:Can you merge into rebase_rakudo.pl?
Ovid on 2009-01-16T12:50:48
Ahh! I should check out this directory. Thanks for the tip.
I'll be on holiday for the next couple of weeks, though, and won't have much free time for this (entertaining a friend from the States).