Skip to content

Commit

Permalink
tweaked gemspec file list
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Jun 1, 2023
1 parent dc1eb4b commit 5879973
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions skyfall.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ Gem::Specification.new do |spec|
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."

# 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/ test/ spec/ features/ .git .circleci appveyor])
end
Dir['*.md'] + Dir['*.txt'] + Dir['lib/**/*'] + Dir['sig/**/*']
end

spec.require_paths = ["lib"]
Expand Down

0 comments on commit 5879973

Please sign in to comment.