Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 40 lines (33 sloc) 0.744 kb
a570df2d »
2010-10-02 Initial commit to combinatorics.
1 require 'rubygems'
2 require 'rake'
3
effb8c2d »
2010-10-02 Populated the project.
4 begin
0d18675c »
2012-04-24 Use rubygems-tasks ~> 0.1.
5 gem 'rubygems-tasks', '~> 0.1'
6 require 'rubygems/tasks'
b19a3e59 »
2010-10-27 Added gem requirements.
7
0d18675c »
2012-04-24 Use rubygems-tasks ~> 0.1.
8 Gem::Tasks.new
7d035c36 »
2010-10-26 Convert to Ore.
9 rescue LoadError => e
bdfe1aab »
2011-06-23 Use warn.
10 warn e.message
0d18675c »
2012-04-24 Use rubygems-tasks ~> 0.1.
11 warn "Run `gem install rubygems-tasks` to install 'rubygems/tasks'."
7d035c36 »
2010-10-26 Convert to Ore.
12 end
a570df2d »
2010-10-02 Initial commit to combinatorics.
13
7d035c36 »
2010-10-26 Convert to Ore.
14 begin
f607c02b »
2011-02-14 Require rspec ~> 2.4.
15 gem 'rspec', '~> 2.4'
7d035c36 »
2010-10-26 Convert to Ore.
16 require 'rspec/core/rake_task'
b19a3e59 »
2010-10-27 Added gem requirements.
17
7d035c36 »
2010-10-26 Convert to Ore.
18 RSpec::Core::RakeTask.new
19 rescue LoadError => e
20 task :spec do
21 abort "Please run `gem install rspec` to install RSpec."
effb8c2d »
2010-10-02 Populated the project.
22 end
a570df2d »
2010-10-02 Initial commit to combinatorics.
23 end
dee80b03 »
2011-01-19 Opting into `gem test`.
24 task :test => :spec
a570df2d »
2010-10-02 Initial commit to combinatorics.
25 task :default => :spec
26
effb8c2d »
2010-10-02 Populated the project.
27 begin
87538375 »
2011-10-14 Require yard ~> 0.7.
28 gem 'yard', '~> 0.7'
effb8c2d »
2010-10-02 Populated the project.
29 require 'yard'
b19a3e59 »
2010-10-27 Added gem requirements.
30
7d035c36 »
2010-10-26 Convert to Ore.
31 YARD::Rake::YardocTask.new
32 rescue LoadError => e
effb8c2d »
2010-10-02 Populated the project.
33 task :yard do
7d035c36 »
2010-10-26 Convert to Ore.
34 abort "Please run `gem install yard` to install YARD."
effb8c2d »
2010-10-02 Populated the project.
35 end
36 end
51847ed0 »
2011-03-07 Addeda benchmark task.
37
38 task :benchmark do
39 Dir.glob('benchmarks/*.rb') { |script| ruby(script) }
40 end
Something went wrong with that request. Please try again.