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 20:03:33 -0700 2008
commit  05fc8d27d9f6edc6d03c1ba841a2aa04dbbe5205
tree    33acf9ef86577b92451f057c9236bcaef9bb6f1e
parent  993e78f402183c0e58a5f2c9442d8565eaa53268
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