class Topia::Task

Included Modules

Defined in:

topia/task.cr

Constructors

Instance Method Summary

Class methods inherited from module Watcher

timestamp_for(file : String) timestamp_for, watch(files, interval : Int32 | Float64, &)
watch(files, &)
watch

Constructor Detail

def self.new(name : String, debug : Bool = false) #

[View source]

Instance Method Detail

def command(command) #

Process and execute raw shell commands


[View source]
def delay(duration : Float64, &) #

[View source]
def dist(out_path : String) #

[View source]
def dist : Bool #

[View source]
def dist_path : String #

[View source]
def name : String #

[View source]
def pipe(plugin : Plugin) #

[View source]

[View source]
def pipe=(pipe : Topia::Pipe(Array(Topia::InputFile)) | Topia::Pipe(Bool) | Topia::Pipe(String)) #

[View source]
def run(params : Array(String)) #

[View source]
def run_dist #

[View source]
def run_watch(params) #

[View source]
def spi : Spinner #

[View source]
def src(path, mode = "w") #

Load files with the given mode, according to the given path


[View source]
def watch(dir : String, read_sources? = false) #

[View source]
def watch : Bool #

[View source]
def watch_block : Bool #

[View source]
def watch_path : String #

[View source]