Update regex for spec.files and remove bindir and executables
This commit is contained in:
parent
57d2fc0e70
commit
6ad9d1ef58
1 changed files with 1 additions and 4 deletions
|
@ -12,12 +12,9 @@ Gem::Specification.new do |spec|
|
||||||
spec.metadata["plugin_type"] = "theme"
|
spec.metadata["plugin_type"] = "theme"
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
||||||
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
|
f.match(%r{^(assets|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
|
||||||
end
|
end
|
||||||
|
|
||||||
spec.bindir = "exe"
|
|
||||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
||||||
|
|
||||||
spec.add_development_dependency "jekyll", "~> 3.3"
|
spec.add_development_dependency "jekyll", "~> 3.3"
|
||||||
spec.add_development_dependency "bundler", "~> 1.12"
|
spec.add_development_dependency "bundler", "~> 1.12"
|
||||||
spec.add_development_dependency "rake", "~> 10.0"
|
spec.add_development_dependency "rake", "~> 10.0"
|
||||||
|
|
Loading…
Reference in a new issue