Skip to content

Commit

Permalink
Include only Ruby code to the gem
Browse files Browse the repository at this point in the history
Especially exclude the Gemfile.
  • Loading branch information
tmatilai committed Aug 31, 2017
1 parent 6fc8fc3 commit 763b5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Metrics/BlockLength:
Exclude:
- '*.gemspec'
- 'spec/**/*'

Metrics/ClassLength:
Expand Down
6 changes: 3 additions & 3 deletions yle_tf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
'[email protected]',
]

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files = Dir['bin/**/*'] +
Dir['lib/**/*.rb'] +
Dir['vendor/**/*']

spec.bindir = 'bin'
spec.executables = ['tf']
Expand Down

0 comments on commit 763b5a3

Please sign in to comment.