Sha256: aa9e6baf0017237e6443f3da4715358061327691958d64624c0ca800c562fac9

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

require 'rubygems'
require 'bundler'

Bundler::GemHelper.install_tasks

require 'rdoc/task'

Rake::RDocTask.new do |rd|
	rd.main = "README.md"
	rd.title = 'deploy-context'
	rd.rdoc_files.include("README.md", "lib/**/*.rb")
end

require 'git-version-bump/rake-tasks'

require 'rubygems'
require 'cucumber'
require 'cucumber/rake/task'

require_relative '../../deploy-context'

namespace :deploycontext do
  task :default => "deploycontext:test" do
    Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'cycle')
  end

  task :bump do
    Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'bump')
  end

  task :test => "deploycontext:help" do
    Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'test')
  end

  task :release => "deploycontext:default"  do
    Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'release')
  end

  task :help do
    Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'help')
  end

  namespace :features do
    Cucumber::Rake::Task.new(:strict) do |t|
      t.cucumber_opts = "--format pretty" # Any valid command line option can go here.
      t.profile = "strict"
    end
  
    Cucumber::Rake::Task.new(:html_report) do |t|
      t.cucumber_opts = "--format pretty" # Any valid command line option can go here.
      t.profile = "html_report"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deploy-context-2.2.0.3.gec16643.4.g20d2d42.4.g17e8559.12.g831d0a8.4.gbb2ab14.12.g0bc028d libraries/deploy-context/helpers/rake_tasks.rb