Filter gem contents
This commit is contained in:
parent
54cc88ef95
commit
d554af13bf
1 changed files with 3 additions and 4 deletions
|
@ -33,15 +33,14 @@ Gem::Specification.new do |spec|
|
|||
spec.metadata['source_code_uri'] = home
|
||||
# spec.metadata['bug_tracker_uri'] = FIXME: bugs
|
||||
spec.metadata['documentation_uri'] = docs
|
||||
# spec.metadata['changelog_uri'] = 'TODO: changelog'
|
||||
# spec.metadata['changelog_uri'] = TODO: changelog
|
||||
|
||||
spec.bindir = 'exe'
|
||||
spec.require_paths = ['lib']
|
||||
|
||||
spec.files = Dir.chdir __dir__ do
|
||||
`git ls-files -z`.split("\x0").reject do |f|
|
||||
(File.expand_path(f) == __FILE__) ||
|
||||
f.start_with?(*%w[.git bin/ test/ spec/ features/ Gemfile])
|
||||
`git ls-files -z`.split("\x0").select do |f|
|
||||
f.start_with?(*%w[exe/ lib/ LICENSE])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue