Sha256: cb0f8c115b1babb86a3fa60417fb5d8b707417af71c29189ed436e6adda7b747

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

#!/usr/bin/env ruby 

require 'rubygems'
require 'bin/common'
Gem.clear_paths
Gem.path.unshift(File.join(File.dirname(__FILE__), 'gems'))

begin 
  require 'cucumber/rake/task'
   
  Cucumber::Rake::Task.new do |t|
    t.binary = "bin/cucumber"
    t.cucumber_opts = "--require bin/common.rb --format Nagios::NagiosFormatter"
  end
rescue LoadError
end


desc "freeze deps"
task :deps do 

  deps = {'cucumber' => "= 0.1.16", 
          'webrat' => ">= 0.4.2", 
          'mechanize' => ">= 0.9.1", 
          'rspec' => ">= 1.1.12"}

  puts "\ninstalling dependencies. this will take a few minutes."

  deps.each_pair do |dep, version|
    puts "\ninstalling #{dep} (#{version})"
    system("gem install #{dep} --version '#{version}' -i gems --no-rdoc --no-ri")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auxesis-cucumber-nagios-0.3.7 lib/generators/project/Rakefile
auxesis-cucumber-nagios-0.3.8 lib/generators/project/Rakefile