forked from kanwei/algorithms
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
25 lines (21 loc) · 666 Bytes
/
Rakefile
File metadata and controls
25 lines (21 loc) · 666 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
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 :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