Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
macournoyer (author)
Fri Jan 11 19:42:54 -0800 2008
commit  31d7fe1c1dc59604ea690166528bf820fea13770
tree    b7452af26eb4f85afec4eb3eea96264a31dfd892
parent  85cebaef4bfe0589592913815ae351e9ec551312
thin / Rakefile
100644 17 lines (13 sloc) 0.38 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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