public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
kevwil (author)
Wed Jan 16 19:21:07 -0800 2008
commit  1f4be478303aab34181af828f1228d04e14f57dd
tree    8a8fb31150cbd3efe1dc5d84614667f809f8d581
parent  d5b8163b27f3f667cc7c2c418e46e5e1e2e77418
thin / Rakefile
100644 19 lines (14 sloc) 0.42 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
WIN = (PLATFORM =~ /mswin|cygwin/)
 
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