Barista::Behaviors::Software::Fetchers::Net
Inherits Barista::Behaviors::Software::Fetchers::Verifiable < Barista::Behaviors::Software::GenericCommands < Reference < Object
Base Net fetcher Assumes that all sources are tar types TODO: Revisit/Rewrite
Constants
COMPRESSED_TAR_EXTENSIONS = [".tar.gz", ".tgz", "tar.bz2", ".tar.xz", ".txz", ".tar.lz", ".tar.lzma"] of ::String
Constructors
new(url : String, *, md5 : String | Nil = nil, sha1 : String | Nil = nil, sha256 : String | Nil = nil, sha512 : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new, tls : HTTP::Client::TLSContext | Nil = nil, retry : Int32 = 2, binary : Bool = false, compress : Bool = false, strip : Int32 = 1, extension : String | Nil = nil)
SourceInstance methods
algorithim
Sourcebinary
Sourcecompress
Sourceexecute(dest_dir : String, name : String)
downloads and extracts this url to #{dest_dir}/#{name}
which should also be
#{project.source_dir}/#{task.name}
extension
Sourceheaders
Sourcelocation
Sourcestrip
Sourcetls
Sourceuri
Source