Skip to content

Instantly share code, notes, and snippets.

@trystant
Last active March 10, 2019 04:42
Show Gist options
  • Save trystant/e97b5e33723ac9a1272b03d786cd7389 to your computer and use it in GitHub Desktop.
Save trystant/e97b5e33723ac9a1272b03d786cd7389 to your computer and use it in GitHub Desktop.
rubospec
# rubospec function to do rubocop & rspec on files
rubospec () {
echo "running 'rubocop -a' and 'bundle exec rspec' on: $@"
rubocop -a $@
bundle exec rspec $@
}
# So it begins...
alias rbs='rubospec'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment