-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rakefile
40 lines (34 loc) · 1.17 KB
/
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
require 'rubygems'
require 'rake'
require 'jeweler'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'
Jeweler::Tasks.new do |gem|
gem.name = "simpler"
gem.summary = %Q{simpler ("simple R")- A low-tech method to run R scripts. Allows you to basically copy and paste R code and run it.}
gem.description = %Q{you should check out rsruby first. This is a very low-tech way to run R. It does have the advantage of being able to run R code essentially unchanged.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/jtprince/simpler"
gem.authors = ["John Prince"]
gem.add_development_dependency "spec-more", ">= 0"
gem.has_rdoc = 'yard'
end
Rake::TestTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
end
Rcov::RcovTask.new do |spec|
spec.libs << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
end
task :default => :spec
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "simpler #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end