projects/aports·blob master · refs

8 lines · 485 B

1--- a/typeprof.gemspec
2+++ b/typeprof.gemspec
3@@ -23,4 +23 @@
4- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
5- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
6- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(.devcontainer|.github|scenario|sig|test|tool)/}) } - [ ".gitignore", "Gemfile", "Gemfile.lock", "Rakefile", "typeprof.conf.json"]
7- end
8+ spec.files = Dir["exe/*", "lib/**/*.rb", "sig/**/*"]