Sha256: 61e2d6b2f278f1e14565afd3122fcf7a59c8104bf313f8f110b9baa4ad1f9f23

Contents?: true

Size: 1.67 KB

Versions: 16

Compression:

Stored size: 1.67 KB

Contents

=begin
Using Jeweler for Gem Packaging...

  * Update the version and release version to github:
    $ rake version:bump:patch && rake release && rake gemcutter:release

  * Build and install the latest version locally:
    $ rake install

=end

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "crazycode-cap-recipes"
    s.summary = %Q{Battle-tested capistrano recipes for passenger, delayed_job, and more}
    s.email = "crazycode@gmail.com"
    s.homepage = "http://github.com/crazycode/cap-recipes"
    s.description = "Battle-tested capistrano recipes for debian, passenger, apache, hudson, delayed_job, juggernaut, rubygems, backgroundrb, rails and more"
    s.authors = ["crazycode"]
    s.rubyforge_project = 'crazycode-cap-recipes'

    s.add_dependency "capistrano"
    s.add_dependency "json"
    s.add_dependency "addressable"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'crazycode-cap-recipes'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.libs << 'test'
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose = true
  end
rescue LoadError
end

desc "Run all specs in spec directory"
task :spec do |t|
  options = "--colour --format progress --loadby --reverse"
  files = FileList['spec/**/*_spec.rb']
  system("spec #{options} #{files}")
end

task :default => :spec

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
crazycode-cap-recipes-0.5.3 Rakefile
crazycode-cap-recipes-0.5.2 Rakefile
crazycode-cap-recipes-0.5.1 Rakefile
crazycode-cap-recipes-0.5.0 Rakefile
crazycode-cap-recipes-0.4.14 Rakefile
crazycode-cap-recipes-0.4.13 Rakefile
crazycode-cap-recipes-0.4.12 Rakefile
crazycode-cap-recipes-0.4.11 Rakefile
crazycode-cap-recipes-0.4.10 Rakefile
crazycode-cap-recipes-0.4.9 Rakefile
crazycode-cap-recipes-0.4.8 Rakefile
crazycode-cap-recipes-0.4.6 Rakefile
crazycode-cap-recipes-0.4.5 Rakefile
crazycode-cap-recipes-0.4.4 Rakefile
crazycode-cap-recipes-0.4.3 Rakefile
crazycode-cap-recipes-0.4.2 Rakefile