foca / d20 fork watch download tarball
public
Description: A model of the d20 roleplaying rules system
Clone URL: git://github.com/foca/d20.git
Search Repo:
d20 / Rakefile
100644 27 lines (22 sloc) 0.689 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
# -*- ruby -*-
 
require 'rubygems'
require 'hoe'
require './lib/d20.rb'
require 'spec/rake/spectask'
 
Hoe.new('d20', D20::VERSION) do |p|
  p.rubyforge_name = 'd20'
  p.author = 'Nicolás Sanguinetti'
  p.email = 'contacto@nicolassanguinetti.info'
  # p.summary = 'FIX'
  # 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
 
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
end
 
Spec::Rake::SpecTask.new("rcov") do |t|
  t.rcov = true
  t.spec_files = FileList['spec/**/*_spec.rb']
end
 
# vim: syntax=Ruby