Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add binstubs #60

Open
lwe opened this issue Jan 26, 2017 · 2 comments
Open

Add binstubs #60

lwe opened this issue Jan 26, 2017 · 2 comments
Labels
feature new functionality

Comments

@lwe
Copy link
Owner

lwe commented Jan 26, 2017

  1. Change gem bindir to exe: spec.bindir = 'exe'
  2. Add binstubs for rake + rubocop
  3. Invoke binstubs in .travis.yml et all
@oliverklee
Copy link
Collaborator

What would be the benefit of binstubs (for a Gem)?

@lwe
Copy link
Owner Author

lwe commented Jan 29, 2017

Not having to shell out explicitly to bundle exec all the time when running commands, similar like you'd have in a Rails app, i.e.:

bundle exec rake test
bundle exec rubocop ...

# vs

./bin/rake test
./bin/rubocop

It's simply that my muscle memory started to favour calling things out of ./bin/... rather than using bundle exec (or a be alias) 😄

@oliverklee oliverklee added the feature new functionality label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new functionality
Projects
None yet
Development

No branches or pull requests

2 participants