module Sam::DSL

Overview

Task definition DSL. Delegates all calls to Sam itself.

Defined in:

sam/dsl.cr

Instance Method Summary

Macro Summary

Instance Method Detail

def desc(description : String) #

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

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

[View source]

Macro Detail

macro load_dependencies(*libraries, **dependencies) #

Requires tasks from given libraries.

load_dependencies "library1", "library2"

[View source]