Skip to content

Commit

Permalink
Merge pull request #14 from inspec/files
Browse files Browse the repository at this point in the history
Limit the files we ship in the gem but include the LICENSE file
  • Loading branch information
miah authored Sep 4, 2019
2 parents 3aa489e + 1993985 commit 06a6704
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions train-winrm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ Gem::Specification.new do |spec|
# Though complicated-looking, this is pretty standard for a gemspec.
# It just filters what will actually be packaged in the gem (leaving
# out tests, etc)
spec.files = %w{
README.md train-winrm.gemspec Gemfile
} + Dir.glob(
"lib/**/*", File::FNM_DOTMATCH
).reject { |f| File.directory?(f) }
spec.require_paths = ["lib"]
spec.files = %w{LICENSE} + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }

# If you rely on any other gems, list them here with any constraints.
# This is how `inspec plugin install` is able to manage your dependencies.
Expand Down

0 comments on commit 06a6704

Please sign in to comment.