Skip to content

Instantly share code, notes, and snippets.

@SkyWriter
Forked from anonymous/cucumber_alias.sh
Created April 18, 2013 07:45
Show Gist options
  • Save SkyWriter/5410939 to your computer and use it in GitHub Desktop.
Save SkyWriter/5410939 to your computer and use it in GitHub Desktop.
cuke() {
clear
cucumber --drb --tags @dev features/
if [ $? -eq 0 ]; then
echo ""
echo ""
echo "@dev test are fine. Running all the tests."
echo ""
cucumber --drb features/
if [ $? -eq 0 ]; then
echo ""
echo ""
echo "All test are fine. Slice!"
echo ""
git add -A
git commit -m "Slice";
fi;
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment