class MStrap::Bootstrappers::ScriptBootstrapper

Defined in:

mstrap/bootstrappers/script_bootstrapper.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class MStrap::Bootstrapper

bootstrap(project : Project) : Bool bootstrap

Constructor methods inherited from class MStrap::Bootstrapper

new(config : Configuration) new

Class methods inherited from class MStrap::Bootstrapper

for(config : Configuration, project : Project) : Array(Bootstrapper) for

Instance methods inherited from module MStrap::DSL::System

cmd(env : Hash | Nil, command : String, args : Array(String) | Nil, **kwargs) cmd, has_command?(command_name : String, **kwargs) : Bool has_command?

Instance methods inherited from module MStrap::DSL::Logging

log(msg) log, logc(msg) logc, logd(msg) logd, logn(msg) logn, logw(msg) logw, success(msg) success

Class Method Detail

def self.has_scripts?(project) #

Whether project has any bootstrapping/setup scripts a-la scripts-to-rule-them-all


[View source]

Instance Method Detail

def bootstrap(project : Project) : Bool #

Executes script/bootstrap and script/setup (if either exists and are configured to run)


[View source]