-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathRakefile
More file actions
45 lines (34 loc) · 1.2 KB
/
Copy pathRakefile
File metadata and controls
45 lines (34 loc) · 1.2 KB
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
42
43
44
45
require "rubygems"
require "hoe"
$:.unshift "lib"
ENV["GEM_PATH"] ||= ""
ENV["GEM_PATH"] += ":tmp/isolate"
Gem.paths = ENV
require "isolate/rake"
Hoe.plugin :isolate_binaries # minitest -> prism
Hoe.plugin :git
Hoe.plugin :minitest, :history, :email # from hoe-seattlerb - :perforce
Hoe.spec "isolate" do
developer "Ryan Davis", "ryand-ruby@zenspider.com"
developer "Eric Hodel", "drbrain@segment7.net"
developer "John Barnette", "code@jbarnette.com"
require_ruby_version ">= 3.2"
require_rubygems_version "> 3.7"
self.extra_rdoc_files = Dir["*.rdoc"]
self.history_file = "CHANGELOG.rdoc"
self.readme_file = "README.rdoc"
license "MIT"
# taken from hoe/seattlerb.rb to avoid loading perforce plugin
# REFACTOR: hoe/seattlerb.rb should just load plugins
base = "/data/www/docs.seattlerb.org"
rdoc_locations << "docs-push.seattlerb.org:#{base}/#{remote_rdoc_dir}"
dependency "hoe-seattlerb", "~> 1.2", :development
dependency "minitest", "~> 6.0", :development
dependency "ZenTest", "~> 4.5", :development
end
# allow for isolated dependencies
task :check_extra_deps => :isolate do
# but still install non-isolated
ENV.delete "GEM_HOME"
Gem.paths = ENV
end