Skip to content

Commit

Permalink
Prefer Dir over Rake::FileList
Browse files Browse the repository at this point in the history
This also fixes all the CI inconsistencies.

Fixes: titusfortner#184

Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
  • Loading branch information
utkarsh2102 committed Oct 1, 2020
1 parent 355aabb commit c5858e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webdrivers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Gem::Specification.new do |s|
'source_code_uri' => "https://github.com/titusfortner/webdrivers/tree/v#{Webdrivers::VERSION}"
}

s.files = Rake::FileList['CHANGELOG.md', 'lib/**/*', 'LICENSE.txt', \
'README.md'].exclude(*File.read('.gitignore').split)
s.files = Dir['lib/**/*'] + %w[CHANGELOG.md LICENSE.txt README.md]
s.test_files = Dir['spec/**/*'].reject { |f| File.directory?(f) }
s.executables = []
s.require_paths = ['lib']
Expand Down

0 comments on commit c5858e7

Please sign in to comment.