mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
a4bf087d51
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@591 19e92222-5c0b-0410-8929-a290d50e31e9
25 lines
901 B
Ruby
25 lines
901 B
Ruby
|
|
require 'echoe'
|
|
|
|
Echoe.new("fastthread") do |p|
|
|
p.project = "mongrel"
|
|
p.author = "MenTaLguY <mental@rydia.net>"
|
|
p.summary = "Optimized replacement for thread.rb primitives"
|
|
p.extensions = "ext/fastthread/extconf.rb"
|
|
p.clean_pattern = ['build/*', '**/*.o', '**/*.so', '**/*.a', 'lib/*-*', '**/*.log', "ext/fastthread/*.{bundle,so,obj,pdb,lib,def,exp}", "ext/fastthread/Makefile", "pkg", "lib/*.bundle", "*.gem", ".config"]
|
|
|
|
p.need_tar_gz = false
|
|
p.need_tgz = true
|
|
p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem',
|
|
'/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem']
|
|
p.require_signed = true
|
|
|
|
p.eval = proc do
|
|
if RUBY_PLATFORM.match("win32")
|
|
platform = Gem::Platform::WIN32
|
|
files += ['lib/fastthread.so']
|
|
task :package => [:clean, :compile]
|
|
end
|
|
end
|
|
|
|
end
|