Skip to content

Commit

Permalink
Fix file selection for gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Taucher2003 committed Jul 31, 2024
1 parent 8013eb1 commit bb88f72
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions build/ruby/tucana.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@ Gem::Specification.new do |spec|
spec.metadata["changelog_uri"] = "#{spec.homepage}/releases"

# 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.start_with?(*%w[bin/ spec/ .git .github])
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.files = Dir["lib/**/*.rb"]
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
Expand Down

0 comments on commit bb88f72

Please sign in to comment.