projects/aports·blob master · refs

19 lines · 702 B

1--- a/rbs.gemspec
2+++ b/rbs.gemspec
3@@ -26,15 +26,7 @@
4 end
5
6 # Specify which files should be added to the gem when it is released.
7- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
8- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
9- `git ls-files -z`.split("\x0").reject do |f|
10- [
11- %r{^(test|spec|features|bin|steep|benchmark)/},
12- /Gemfile/
13- ].any? {|r| f.match(r) }
14- end
15- end
16+ spec.files = Dir["core/**/*", "exe/*", "ext/**/*", "include/**/*.h", "lib/**/*.rb", "schema/**/*.json", "sig/**/*", "src/**/*", "stdlib/**/*"]
17 spec.extensions = %w{ext/rbs_extension/extconf.rb}
18
19 if false