Skip to content

Commit

Permalink
Remove test files from the gem package
Browse files Browse the repository at this point in the history
Close #146
  • Loading branch information
k0kubun committed Oct 4, 2023
1 parent 82b7903 commit 1066aa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions temple.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ Gem::Specification.new do |s|
s.summary = 'Template compilation framework in Ruby'

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

Expand Down

0 comments on commit 1066aa8

Please sign in to comment.