Topia
Constants
SPINNER = Spinner.new("Waiting...")
VERSION = "0.1.0"
Class methods
cache_stats
Sourcecached_executor
Sourceclear_cache
Sourceconcurrent_executor(max_concurrent = 4)
Sourceconcurrent_stats
Sourcedebug(message : String)
Sourcedebug=(debug)
Sourcedebug?
Sourcedefault_tasks
Sourceerror(message : String)
Sourceexecute_concurrent(tasks : Array(Task), max_concurrent = 4, use_cache = true, show_progress = true)
Sourcefind_task(name : String) : Task | Nil
Sourcelogger
Sourceoutput_mode
Sourcequiet?
Sourcerecord_task_failure(task_name : String, start_time : Time::Span, error : Exception)
Sourcerun_parallel(task_names : Array(String), max_jobs : Int32 = System.cpu_count)
Parallel task execution with job control
show_detailed_statistics
Sourcesuccess(message : String)
Sourcetask(name : String, cb)
Overload for creating a task with a callback function that gets executed first
task_dependencies(task_name : String) : Array(String)
Sourcetask_statistics(task_name : String) : String | Nil
Sourceverbose?
Sourcewarn(message : String)
Sourcewatch_and_run(task_names : Array(String), &block : Array(String) -> Nil)
Watch and run tasks when files change
Nested types
- Topia::AsyncSpinner
- Topia::AsyncWatcher
- Topia::BasePipeline
- Topia::BasePlugin
- Topia::CLI
- Topia::CachedTaskExecutor
- Topia::Command
- Topia::CommandExecutor
- Topia::ConcurrentExecutor
- Topia::Config
- Topia::ConfigDSL
- Topia::DependencyManager
- Topia::Error
- Topia::FileDistributor
- Topia::InputFile
- Topia::ParallelExecutor
- Topia::Pipe(T)
- Topia::PipelineBuilder
- Topia::Plugin
- Topia::PluginLifecycle
- Topia::PluginUtils
- Topia::Spinner
- Topia::SpinnerPool
- Topia::Task
- Topia::TaskCache
- Topia::TaskWatcher
- Topia::WatcherPool