krisleech / wisper

A micro library providing Ruby objects with Publish-Subscribe capabilities
3.27k stars 151 forks source link

Issue #180 - exclude bin directory from gem #181

Closed keithrbennett closed 4 years ago

keithrbennett commented 4 years ago

This PR would remove the bin directory from the built gem. Addresses issue #180.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 99.878% when pulling b0843148fce653666ceeaada2699812f674bba3a on keithrbennett:exclude-bin-from-gem into b29661a46b95801cb733918d11e8f8182a535697 on krisleech:master.

sj26 commented 4 years ago

Another solution would be to keep the bundler-generated gemspec bindir line, like:

 gem.require_paths = ["lib"]
+gem.bindir = "exe"

which will avoid installing your bin/* scripts when installing a gem.