class Mint::MintJson

Defined in:

mint_json.cr
mint_json/application.cr
mint_json/application/css_prefix.cr
mint_json/application/display.cr
mint_json/application/head.cr
mint_json/application/icon.cr
mint_json/application/meta.cr
mint_json/application/name.cr
mint_json/application/orientation.cr
mint_json/application/theme_color.cr
mint_json/application/title.cr
mint_json/dependencies.cr
mint_json/formatter.cr
mint_json/mint_version.cr
mint_json/name.cr
mint_json/parser.cr
mint_json/root.cr
mint_json/source_directories.cr
mint_json/test_directories.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.current : MintJson #

[View source]
def self.new(*, source_directories : Array(String), test_directories : Array(String), dependencies : Array(Mint::Installer::Dependency), application : Mint::MintJson::Application, formatter : Mint::Formatter::Config, name : String, path : String) #

[View source]
def self.parse(contents : String, path : String) : MintJson #

[View source]
def self.parse(path : String, *, search : Bool = false) : MintJson #

[View source]

Class Method Detail

def self.current? : MintJson | Nil #

[View source]
def self.parse?(path : String, *, search : Bool = false) : MintJson | Nil #

[View source]

Instance Method Detail

def application : Application #

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

[View source]
def formatter : Formatter::Config #

[View source]
def name : String #

[View source]
def path : String #

[View source]
def source_directories : Array(String) #

[View source]
def test_directories : Array(String) #

[View source]