Skip to content

Instantly share code, notes, and snippets.

@duykhoa
Last active March 17, 2017 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duykhoa/36ca0c9a5dc8d9b7a51155c6addd39b2 to your computer and use it in GitHub Desktop.
Save duykhoa/36ca0c9a5dc8d9b7a51155c6addd39b2 to your computer and use it in GitHub Desktop.
COVERAGE PATCH
if [ -n "$ZSH_VERSION" ]; then
echo 'zsh env'
echo 'export COVERAGE=true' >> ~/.zshrc
elif [ -n "$BASH_VERSION" ]; then
echo 'bash env'
echo 'export COVERAGE=true' >> ~/.bashrc
else
echo 'You need to run `COVERAGE=true rspec` each time'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment