class Build::GithubSource

Defined in:

build/source/github_source.cr

Constructors

Instance Method Summary

Instance methods inherited from class Build::Source

name : String name, root_path(crystal_version : String) : String root_path, url_for(crystal_version : String, platform : String, arch : String) : String url_for

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def name : String #
Description copied from class Build::Source

The user-facing name of the source.


[View source]
def root_path(crystal_version : String) : String #
Description copied from class Build::Source

Get the path to the main Crystal directory given the downloaded tarball structure.


[View source]
def url_for(crystal_version : String, platform : String, arch : String) : String #
Description copied from class Build::Source

Get a URI for downloading a Crystal tarball with a given crystal_version.


[View source]