class Buildr::OptionalArtifact

An artifact that is optional. If downloading fails, the user will be informed but it will not raise an exception.

Protected Instance Methods

download() click to toggle source

If downloading fails, the user will be informed but it will not raise an exception.

Calls superclass method Buildr::Artifact#download
# File lib/buildr/packaging/artifact.rb, line 566
def download
  super
rescue
  info "Failed to download #{to_spec}. Skipping it."
end