Sha256: 9a8d1d60c4ab6f5950190238ece668bc09b82c8cc141f52d00033126fb0bef0a

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require "zip/zip"

class Joe < Thor
  desc "download", "download the Selenium jar file from Google Code repository"
  def download
    url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0b2.jar"
    file = File.join("tmp", File.basename(url))

    FileUtils.mkdir_p("tmp")

    system "wget #{url} -O #{file}" unless File.exist?(file)

    FileUtils.mv("#{file}", "vendor/selenium-server.jar")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
selenium-rc-2.3.2 Thorfile