Skip to content

Commit

Permalink
Exclude spec files from gem package (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda authored Aug 2, 2024
1 parent d60548a commit 72de8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fog-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/fog/fog-core"
spec.license = "MIT"

spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject {|f| f.start_with? ('spec/') }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

Expand Down

0 comments on commit 72de8f7

Please sign in to comment.