Skip to content

Commit 489447b

Browse files
committed
fix(gem): exclude development files from gem
1 parent 9f65356 commit 489447b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

junoser.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717
# Specify which files should be added to the gem when it is released.
1818
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
1919
spec.files = Dir.chdir(File.expand_path(__dir__)) do
20-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|example)/}) }
20+
`git ls-files -z *`.split("\x0").reject { |f| f.match(%r{^(test/|example/|commitlint)}) }
2121
end
2222
spec.bindir = 'exe'
2323
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)