abstract class Build::Source

Direct Known Subclasses

Defined in:

build/source/source.cr

Instance Method Summary

Instance Method Detail

abstract def name : String #

The user-facing name of the source.


[View source]
abstract def root_path(crystal_version : String) : String #

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


[View source]
abstract def url_for(crystal_version : String, platform : String, arch : String) : String #

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


[View source]