-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathRakefile
More file actions
27 lines (22 loc) · 766 Bytes
/
Rakefile
File metadata and controls
27 lines (22 loc) · 766 Bytes
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
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/superators.rb'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |opts|
opts.spec_opts = %w'-c'
end
desc "Generate a HTML report of the RSpec specs"
Spec::Rake::SpecTask.new "report" do |opts|
opts.spec_opts = %w'--format html:report.html'
end
Hoe.new('superators', Superators::VERSION) do |p|
p.rubyforge_name = 'superators'
p.author = 'Jay Phillips'
p.email = 'jay -at- codemecca.com'
p.summary = 'Superators add new sexy operators to your Ruby objects.'
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end
# vim: syntax=Ruby