Skip to content

Commit 61eee07

Browse files
committed
Fix gemspec: correct VC project glob and exclude generated extconf.h
The VC project glob had the wrong extension (.vcprojx vs .vcxproj) and wrong directory depth, so the .vcxproj was never packaged. Also exclude the generated extconf.h so local build config doesn't leak into the gem.
1 parent 41af70a commit 61eee07

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

libxml-ruby.gemspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ Gem::Specification.new do |spec|
2929
'ext/libxml/*.h',
3030
'ext/libxml/*.c',
3131
'ext/libxml/*.rb',
32-
'ext/vc/*.sln',
33-
'ext/vc/*.vcprojx',
32+
'ext/vc/**/*.sln',
33+
'ext/vc/**/*.vcxproj',
3434
'ext/xcode/**/*',
3535
'lib/**/*.rb',
36-
'test/**/*'])
36+
'test/**/*']) -
37+
Dir.glob(['ext/libxml/extconf.h'])
3738

3839
spec.test_files = Dir.glob('test/test_*.rb')
3940
spec.required_ruby_version = '>= 3.2'

0 commit comments

Comments
 (0)