Sha256: a05096e696929520531526ddc9c2f7a58b009f380222bb7d24c8d11bce966af7

Contents?: true

Size: 768 Bytes

Versions: 10

Compression:

Stored size: 768 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)

require 'bundler'
Bundler::GemHelper.install_tasks

task :default => "build:all"

namespace :build do
  desc "Build for Windows platform."
  task :win => :build do
    begin
      ENV["build_for_windows"] = "true"
      Rake::Task["build"].reenable
      Rake::Task["build"].invoke
    ensure
      ENV["build_for_windows"] = nil
    end
  end
  
  desc "Build for all platforms."
  task :all => [:build, "build:win"]
end

namespace :release do
  desc "Release for Windows platform."
  task :win => "build:win" do
    sh "gem push #{Dir["pkg/*mingw32.gem"].sort_by{|f| File.mtime(f)}.last}"
  end

  desc "Release for all platforms."
  task :all => [:release, "release:win"]
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
watir-5.0.0-x86-mingw32 Rakefile
watir-5.0.0 Rakefile
watir-4.0.2-x86-mingw32 Rakefile
watir-4.0.2 Rakefile
watir-4.0.1-x86-mingw32 Rakefile
watir-4.0.1 Rakefile
watir-4.0.0-x86-mingw32 Rakefile
watir-4.0.0 Rakefile
watir-4.0.0.rc6 Rakefile
watir-4.0.0.rc6-x86-mingw32 Rakefile