Skip to content

Commit

Permalink
Exclude spec files from gem package
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jul 18, 2024
1 parent e538be8 commit ace92a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions websocket.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Gem::Specification.new do |s|
s.description = 'Universal Ruby library to handle WebSocket protocol'
s.license = 'MIT'

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.files = `git ls-files`.split("\n").grep_v(/^spec/)
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

Expand Down

0 comments on commit ace92a9

Please sign in to comment.