1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/projects/fastthread/Rakefile
evanweaver a4bf087d51 signed fastthread using unreleased echoe (for extensions)
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@591 19e92222-5c0b-0410-8929-a290d50e31e9
2007-09-23 01:18:19 +00:00

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