class Mint::Installer

Included Modules

Defined in:

installer.cr
installer/dependency.cr
installer/fixed_constraint.cr
installer/repository.cr
installer/semver.cr
installer/simple_constraint.cr

Constructors

Instance Method Summary

Instance methods inherited from module Mint::Errorable

error!(name : Symbol, &) error!, unreachable!(message : String) unreachable!

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def populate #

Populates the resolved package into ".mint/packages" directory


[View source]
def print_resolved #

Prints the resolved packages and their versions


[View source]
def resolve_dependencies(dependencies = root_dependencies, package = root) #

[View source]
def resolve_dependency(dependency, package) #

[View source]
def root : {name: String, version: String} #

[View source]
def root_dependencies : Array(Mint::Installer::Dependency) #

[View source]
def solve(base = root) #

Solves the dependency graph


[View source]
def terminal #

[View source]