mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-27 02:40:32 +00:00
8d3592ff70
Now only 4 files left untouchable. Search README.md for "Dev note" for details.
30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
require "json"
|
|
|
|
package_json = JSON.parse(File.read("package.json"))
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "minimal-mistakes-jekyll"
|
|
spec.version = package_json["version"]
|
|
spec.authors = ["Michael Rose", "iBug"]
|
|
|
|
spec.summary = %q{A flexible two-column Jekyll theme.}
|
|
spec.homepage = "https://github.com/mmistakes/minimal-mistakes"
|
|
spec.license = "MIT"
|
|
|
|
spec.metadata["plugin_type"] = "theme"
|
|
|
|
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
|
f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
|
|
end
|
|
|
|
spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
|
|
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
|
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3"
|
|
spec.add_runtime_dependency "jekyll-gist", "~> 1.5"
|
|
spec.add_runtime_dependency "jekyll-feed", "~> 0.1"
|
|
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1"
|
|
|
|
spec.add_development_dependency "bundler"
|
|
spec.add_development_dependency "rake", ">= 12.3.3"
|
|
end
|