File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,15 @@ Gem::Specification.new do |spec|
23
23
# Specify which files should be added to the gem when it is released.
24
24
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
25
gemspec = File . basename ( __FILE__ )
26
- spec . files = IO . popen ( %w[ git ls-files -z ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
26
+ files = IO . popen ( %w[ git ls-files -z ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
27
27
ls . readlines ( "\x0 " , chomp : true ) . reject do |f |
28
28
( f == gemspec ) ||
29
29
f . start_with? ( *%w[ bin/ test/ spec/ features/ .git appveyor Gemfile ] )
30
30
end
31
31
end
32
+ files << 'ext/mjollnir/parse.c'
33
+ files << 'ext/mjollnir/parse.h'
34
+ spec . files = files
32
35
spec . bindir = 'exe'
33
36
spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
34
37
spec . require_paths = [ 'lib' ]
You can’t perform that action at this time.
0 commit comments