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

Use new proposed structure for gems by bundler #439

Merged
merged 2 commits into from
Jun 29, 2017

Conversation

maxmeyer
Copy link
Member

Summary

When creating new gems with bundler it uses exec for executable files and bin for helper executables local to the project.

Details

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I've added tests for my code
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@maxmeyer maxmeyer merged commit 4a59bdf into master Jun 29, 2017
@mvz
Copy link
Contributor

mvz commented Jun 29, 2017

I thought it used exe, not exec? (I don't really see the point of this new schema by the way.)

@mvz mvz deleted the feature/mv-bin-to-exec branch June 29, 2017 08:08
@olleolleolle
Copy link
Contributor

@mvz One reason I can see would be people wanting bin/ to contain only binstubs and such. If that were the case, all of bin/ could be git-ignored. If that's ignored, then exe could contain the executables that are to be exposed to users (as annotated in the gemspec).

Your mileage may vary.

@mvz
Copy link
Contributor

mvz commented Jun 29, 2017

Ah, so binstubs put stuff in bin/ instead of script/, so stuff from script/ was moved to bin/, causing stuff from bin/ to need to move to exe/. That kind of makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants