Skip to content

Commit

Permalink
Merge pull request #101 from pusewicz/patch-1
Browse files Browse the repository at this point in the history
Exclude test files
  • Loading branch information
ggilder authored Feb 24, 2023
2 parents 40d06bf + 67fdbc4 commit 4d055c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commander.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
}
s.required_ruby_version = '>= 2.4'

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

0 comments on commit 4d055c6

Please sign in to comment.