class Sam::Namespace

Defined in:

sam/namespace.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, parent : Sam::Namespace?) #

[View source]

Instance Method Detail

def all_tasks #

[View source]
def desc(description : String) #

Sets description to the next defined task.


[View source]
def find(path : String) #

[View source]
def name : String #

[View source]
def namespace(name, &) #

Defines nested namespace.


[View source]
def namespaces(name) #

[View source]
def path #

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

Defines new task.


[View source]
def tasks(name) #

[View source]
def touch_namespace(name) #

[View source]