blob: aac5d69f839467f91ea08901bd13a2a7593a5cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/rmagick.gemspec
+++ b/rmagick.gemspec
@@ -13,7 +13,7 @@
s.homepage = 'https://github.com/rmagick/rmagick'
s.license = 'MIT'
- tracked_files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
+ tracked_files = Dir['deprecated/*', 'ext/**/*', 'lib/**/*', '*.gemspec']
file_exclusion_regex = %r{(\Alib/rvg/to_c.rb)}
files = tracked_files.reject { |file| file[file_exclusion_regex] }
test_files = files.grep(%r{^(test|spec|features)/})
|