Created
February 19, 2016 15:29
-
-
Save xdg/e357d6439cc278e5ff5b to your computer and use it in GitHub Desktop.
Shell function to smoke a git rebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smoke-rebase () | |
{ | |
while true; do | |
( perl Makefile.PL && \ | |
make realclean && \ | |
perl Makefile.PL && \ | |
) >&/dev/null \ | |
&& make test \ | |
&& git rebase --continue \ | |
|| break | |
done } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment