module Sam

Defined in:

sam/args.cr
sam/dsl.cr
sam/namespace.cr
sam/task.cr
sam/version.cr
sam.cr

Constant Summary

TASK_SEPARATOR = "@"

Task separation symbol used in command line.

VERSION = "0.3.1"

Class Method Summary

Class Method Detail

def self.desc(description) #

[View source]
def self.find(path) #

[View source]
def self.find!(path) #

[View source]
def self.generate_makefile(sam_path) #

[View source]
def self.help #

[View source]
def self.invoke(name, args : Args) #

[View source]
def self.invoke(name, args : Array(String)) #

[View source]
def self.invoke(name) #

[View source]
def self.namespace(name : String, &block) #

[View source]
def self.pretty_print #

[View source]
def self.task(name, dependencies = [] of String, &block : Task, Args -> Void) #

delegates call to root namespace


[View source]