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 12:20:15 -0800 2008
commit  1631181287baa0f7249a802924c31501793cae55
tree    f4d7684ebc2ae4c8b9fbc0623f8bda8d76cff391
parent  25974b98eaa32341f4e46e8a77aa30b0fdf0f7e3
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