Sha256: 12f14358a23973b18af19140cdee8ee59dfce9678189428f21347351492a542a

Contents?: true

Size: 775 Bytes

Versions: 3

Compression:

Stored size: 775 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

3 entries across 3 versions & 1 rubygems

Version Path
auxesis-cucumber-nagios-0.3.4 lib/generators/project/Rakefile
auxesis-cucumber-nagios-0.3.5 lib/generators/project/Rakefile
auxesis-cucumber-nagios-0.3.6 lib/generators/project/Rakefile