public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
macournoyer (author)
Fri Jan 11 04:57:11 -0800 2008
commit  145c4183336c43279767a1a61a1c7f34db3692b7
tree    a5b85b7ad74c0d9ee9a98a86906f6088f31bf653
parent  415624b6151060d9ae89ad4633040f44a22e4174
thin / Rakefile
100644 18 lines (13 sloc) 0.38 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
 
require 'rake'
require 'rake/clean'
require 'lib/thin'
Dir['tasks/**/*.rake'].each { |rake| load rake }
 
task :default => [:compile, :spec]
 
task :install => :compile do
  sh %{rake package}
  sh %{sudo #{gem} install pkg/#{Thin::NAME}-#{Thin::VERSION::STRING}}
end
 
task :uninstall => :clean do
  sh %{sudo #{gem} uninstall #{Thin::NAME}}
end