Sha256: a9d8a3e538df666e315b0198e35c0a08986080b3a88fefdfd82dd31866e72b35

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 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.16.1.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.16.1.2 Thorfile