File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,15 @@ Gem::Specification.new do |spec|
21
21
# Specify which files should be added to the gem when it is released.
22
22
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
spec . files = Dir . chdir ( File . expand_path ( __dir__ ) ) do
24
- `git ls-files -z` . split ( "\x0 " ) . reject do |f |
25
- ( f == __FILE__ ) || f . match ( %r{\A (?:(?:test|spec|features)/|\. (?:git|travis|circleci)|appveyor)} )
26
- end
24
+ [
25
+ Dir [ "ext/rapidjson/*.{hh,cc}" ] ,
26
+ Dir [ "ext/rapidjson/rapidjson/include/**/*.h" ] ,
27
+ Dir [ "lib/**/*.rb" ] ,
28
+ "CODE_OF_CONDUCT.md" ,
29
+ "LICENSE.txt" ,
30
+ "README.md" ,
31
+ "Rakefile" ,
32
+ ] . flatten
27
33
end
28
34
spec . bindir = "exe"
29
35
spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
You can’t perform that action at this time.
0 commit comments