-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
41 lines (31 loc) · 906 Bytes
/
Rakefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
# vim: set ft=ruby :
require 'corundum/tasklibs'
module Corundum
Corundum::register_project(__FILE__)
core = Core.new
core.in_namespace do
GemspecFiles.new(core) do |gsf|
gsf.extra_files.include("certs/ca-certificates.crt")
end
#Also available: 'unfinished': TODO and XXX
["debug", "profanity", "ableism", "racism"].each do |type|
QuestionableContent.new(core) do |content|
content.type = type
end
end
rspec = RSpec.new(core)
cov = SimpleCov.new(core, rspec) do |cov|
cov.threshold = 95
end
gem = GemBuilding.new(core)
cutter = GemCutter.new(core,gem)
email = Email.new(core)
vc = Git.new(core) do |vc|
vc.branch = "master"
end
yd = YARDoc.new(core)
docs = DocumentationAssembly.new(core, yd, rspec, cov)
pages = GithubPages.new(docs)
end
end
task :default => [:release, :publish_docs]