public
Description: A library of algorithms and containers for Ruby.
Homepage: http://rubyforge.org/projects/algorithms/
Clone URL: git://github.com/kanwei/algorithms.git
algorithms / Rakefile
100644 32 lines (25 sloc) 0.739 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
require 'rubygems'
require 'echoe'
 
Echoe.new('algorithms') do |p|
  p.author = 'Kanwei Li'
  p.email = 'kanwei@gmail.com'
  p.summary = 'A library of algorithms and containers.'
  p.url = 'http://rubyforge.org/projects/algorithms/'
  p.version = "0.2.0"
  p.runtime_dependencies = []
end
 
task :default => :spec
 
task :spec do
  sh "spec spec/*.rb --color"
end
 
task :push do
  sh "git push" # Rubyforge
  sh "git push --tags" # Rubyforge
  sh "git push gh" # Github
  sh "git push gh --tags" # Github
end
 
task :hanna do
  sh "rm -fr doc"
  sh "hanna -SN lib/ -m Algorithms"
  sh "scp -rq doc/* kanwei@rubyforge.org:/var/www/gforge-projects/algorithms"
end