Sha256: 08543f3107cd4cdfce78a0ef138c24229384a5cde78bfe53fe8fcb1b2c0dc4e7

Contents?: true

Size: 1.83 KB

Versions: 28

Compression:

Stored size: 1.83 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "fdlcap"
    gem.summary = %Q{a set of capistrano recipies we use regularly at Factory Design Labs}
    gem.email = "interactive@factorylabs.com"
    gem.homepage = "http://github.com/factorylabs/fdlcap"
    gem.authors = ["Factory Design Labs"]
    gem.add_dependency('engineyard-eycap', '>= 0.4.7')
    gem.add_dependency('zilkey-auto_tagger', '>= 0.0.9')
    gem.add_dependency('capistrano', '>= 2.5.5')
    gem.add_dependency('capistrano-ext', '>= 1.2.1')
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

begin
  require 'cucumber/rake/task'
  Cucumber::Rake::Task.new(:features)
rescue LoadError
  task :features do
    abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
  end
end

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "fdlcap #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
factorylabs-fdlcap-0.1.0 Rakefile
factorylabs-fdlcap-0.2.0 Rakefile
factorylabs-fdlcap-0.2.1 Rakefile
factorylabs-fdlcap-0.2.2 Rakefile
factorylabs-fdlcap-0.2.3 Rakefile
factorylabs-fdlcap-0.2.4 Rakefile
factorylabs-fdlcap-0.2.5 Rakefile
factorylabs-fdlcap-0.2.6 Rakefile
factorylabs-fdlcap-0.2.7 Rakefile
factorylabs-fdlcap-0.3.0 Rakefile
factorylabs-fdlcap-0.3.1 Rakefile
factorylabs-fdlcap-0.3.10 Rakefile
factorylabs-fdlcap-0.3.11 Rakefile
factorylabs-fdlcap-0.3.15 Rakefile
factorylabs-fdlcap-0.3.16 Rakefile
factorylabs-fdlcap-0.3.17 Rakefile
factorylabs-fdlcap-0.3.18 Rakefile
factorylabs-fdlcap-0.3.19 Rakefile
factorylabs-fdlcap-0.3.2 Rakefile
factorylabs-fdlcap-0.3.20 Rakefile