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)
Sat Jan 12 09:13:11 -0800 2008
commit  2b60ea8c4c40f8626847d3a67279ec3c55e0b75a
tree    567e47a5ee1faed079f1b12a4ab4350ba9330435
parent  d39a4de1448b9a7de3e311789311158f6d22252c
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