Sha256: c615490cb4f5f8cb2e10d2084f900a1918d6bddc4a0690acb64265d219e1006e
Contents?: true
Size: 828 Bytes
Versions: 2
Compression:
Stored size: 828 Bytes
Contents
require 'bundler/setup' require 'bundler/gem_tasks' # for loading the example config file in config/resque-pool.yml require 'resque/pool/tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = ["-c", "-f progress"] end require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |c| c.profile = "rake" end task :default => [:spec, :features] rule(/\.[1-9]$/ => [proc { |tn| "#{tn}.ronn" }]) do |t| name = Resque::Pool.name.sub('::','-').upcase version = "%s %s" % [name, Resque::Pool::VERSION.upcase] manual = '--manual "%s"' % name organization = '--organization "%s"' % version sh "ronn #{manual} #{organization} <#{t.source} >#{t.name}" end file 'man/resque-pool.1' file 'man/resque-pool.yml.5' task :manpages => ['man/resque-pool.1','man/resque-pool.yml.5']
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
resque-pool-0.6.0 | Rakefile |
resque-pool-0.6.0.rc1 | Rakefile |