Sha256: 918ed648704690ff2f3cafb7162d153043d183e8d823ed090cbd0a9d00335bdf
Contents?: true
Size: 1.34 KB
Versions: 3
Compression:
Stored size: 1.34 KB
Contents
# rake version:bump:patch && rake release && rake build && rake install && sudo gem cleanup require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "cap-recipes" s.summary = %Q{Battle-tested capistrano recipes for passenger, delayed_job, and more} s.email = "nesquena@gmail.com" s.homepage = "http://github.com/nesquena/cap-recipes" s.description = "Battle-tested capistrano recipes for debian, passenger, apache, delayed_job, juggernaut, rubygems, backgroundrb, rails and more" s.authors = ["Nathan Esquenazi"] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = '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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
nesquena-cap-recipes-0.3.17 | Rakefile |
nesquena-cap-recipes-0.3.18 | Rakefile |
cap-recipes-0.3.18 | Rakefile |