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)
Mon Apr 07 19:57:39 -0700 2008
commit  993e78f402183c0e58a5f2c9442d8565eaa53268
tree    4326eeabebf6706a180369a79742fb92c8627c3a
parent  747a41479340d52976aa067c3e93198a40d74627
thin / Rakefile
100644 23 lines (16 sloc) 0.402 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
WIN = (RUBY_PLATFORM =~ /mswin|cygwin/)
SUDO = (WIN ? "" : "sudo")
 
require 'rake'
require 'rake/clean'
require 'lib/thin'
 
Dir['tasks/**/*.rake'].each { |rake| load rake }
 
task :default => :spec
 
ext_task :thin_parser
ext_task :thin_backend
 
ragel_task 'ext/thin_backend', 'parser.rl', 'parser.c'
 
task :test do
  cd 'test' do
    sh 'make test'
  end
end