Skip to content

Commit

Permalink
Skip files for gem
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed May 20, 2020
1 parent c4b5a2e commit a97bf0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/spec/examples.txt
/pkg
gemfiles/*.lock
*.gem
9 changes: 6 additions & 3 deletions doorkeeper-openid_connect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ Gem::Specification.new do |spec|
spec.description = 'OpenID Connect extension for Doorkeeper.'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files = Dir[
"{app,config,lib}/**/*",
"CHANGELOG.md",
"LICENSE.txt",
"README.md",
]
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

Expand Down

0 comments on commit a97bf0d

Please sign in to comment.