Skip to content
Snippets Groups Projects
Unverified Commit 3335b979 authored by M. R. McCormick's avatar M. R. McCormick Committed by GitHub
Browse files

Exclude images from being bundled with gem (#1142)

parent 73a7e7cb
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ Gem::Specification.new do |spec| ...@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
"source_code_uri" => "https://github.com/just-the-docs/just-the-docs", "source_code_uri" => "https://github.com/just-the-docs/just-the-docs",
} }
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|bin|_layouts|_includes|lib|Rakefile|_sass|LICENSE|README|CHANGELOG|favicon)}i) } spec.files = `git ls-files -z ':!:*.jpg' ':!:*.png'`.split("\x0").select { |f| f.match(%r{^(assets|bin|_layouts|_includes|lib|Rakefile|_sass|LICENSE|README|CHANGELOG|favicon)}i) }
spec.executables << 'just-the-docs' spec.executables << 'just-the-docs'
spec.add_development_dependency "bundler", "~> 2.3.5" spec.add_development_dependency "bundler", "~> 2.3.5"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment