-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcyclist-jekyll.gemspec
28 lines (23 loc) · 1.04 KB
/
cyclist-jekyll.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "cyclist-jekyll"
spec.version = "0.11.6"
spec.authors = ["Roben Kleene"]
spec.email = ["contact@robenkleene.com"]
spec.summary = "Bicycle for the mind."
spec.homepage = "https://github.com/cyclist-grid/cyclist-jekyl"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|vendor|_layouts|_includes|_sass|LICENSE|README)!i) }
base_path = File.expand_path(File.dirname(__FILE__)) + "/"
`git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
Dir.chdir(submodule_path) do
submodule_relative_path = submodule_path.sub base_path, ""
`git ls-files -z`.split("\x0").each do |filename|
spec.files << "#{submodule_relative_path}/#{filename}"
end
end
end
spec.add_runtime_dependency "jekyll", ">= 3.5", "< 5.0"
spec.add_runtime_dependency "jekyll-feed", "~> 0.9"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1"
end