Skip to content

Commit

Permalink
Fix gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 9, 2024
1 parent e028197 commit 93e17d6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions ruby-hdf5.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.2.0'

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
end
end
spec.files = Dir["*.{md,txt}", "{lib}/**/*", "vendor/*.{so,dylib,dll}"]
spec.require_path = "lib"
spec.require_paths = ['lib']

spec.add_dependency 'ffi'
spec.add_dependency 'pkg-config'

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
spec.metadata["msys2_mingw_dependencies"] = "hdf5"
end

0 comments on commit 93e17d6

Please sign in to comment.