Sha256: 1aef5e911810a75c14a82f8998d34fd9d47d72a8cd8a71ab9bbdbce92239e744

Contents?: true

Size: 476 Bytes

Versions: 7

Compression:

Stored size: 476 Bytes

Contents

#!/usr/bin/env ruby 

require 'rubygems'
require 'fileutils'

begin 
  require 'cucumber/rake/task'
   
  Cucumber::Rake::Task.new do |t|
    t.cucumber_opts = "--require features/"
  end
rescue LoadError
end


desc "build gem"
task :build do 
  system("gem build cucumber-nagios.gemspec")

  FileUtils.mkdir_p('pkg')
  puts
  Dir.glob("cucumber-nagios-*.gem").each do |gem|
    dest = File.join('pkg', gem)
    FileUtils.mv(gem, dest)
    puts "New gem in #{dest}"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
auxesis-cucumber-nagios-0.4.4 Rakefile
cucumber-nagios-0.6.3 Rakefile
cucumber-nagios-0.6.2 Rakefile
cucumber-nagios-0.6.1 Rakefile
cucumber-nagios-0.6.0 Rakefile
cucumber-nagios-0.5.1 Rakefile
cucumber-nagios-0.5.0 Rakefile