Sha256: 4b873f2a7e51e34173e59e5a31e4592dc24d1e21bb03a09b5d1f40a778b0a24c
Contents?: true
Size: 877 Bytes
Versions: 2
Compression:
Stored size: 877 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.3.0", 'rspec' => "~> 1.2.4", 'webrat' => ">= 0.4.2", 'mechanize' => ">= 0.9.1"} puts "\ninstalling dependencies. this will take a few minutes." deps.each_pair do |dep, version| if Dir.glob("gems/gems/#{dep}-#{version.split.last}").size > 0 next unless ENV["FORCE"] end 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.4.3 | lib/generators/project/Rakefile |
auxesis-cucumber-nagios-0.4.4 | lib/generators/project/Rakefile |