Neph::Job
Inherits Neph / Neph::Message / Neph::Parser / Reference / Object
Constants
DONE = 2
ERROR = 3
RUNNING = 1
SKIP = 4
TICK_CHARS = "⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈ "
WAITING = 0
Constructors
new(name : String, commands : Array(String), before : Array(String), after : Array(String), parent_job : Job | Nil)
SourceInstance methods
add_sources(source_files : Array(String))
Sourceadd_sub_job(job : Job, env : String | Nil)
Sourceafter
Sourcebefore
Sourceclean_tmp
Sourcecommands
Sourcecreate_dir
Sourcecurrent_command
Sourcedepends_on
Sourcedir
Sourcedir=(dir : String)
Sourcedone?
Sourcedone_command
Sourceelapsed_time
Sourceenv
Sourceenv=(env : String | Nil)
Sourceexec(channel : Channel(Nil) | Nil = nil)
Sourceexec_commands(commands : Array(String), stdout, stderr)
Sourceexec_self
Sourceexec_sub_job_parallel
Sourceexec_sub_job_sequential
Sourcefile_tail(path : String) : String
Sourceget_progress
Sourcehas_parent_job?(sub_job_name : String) : Bool
Sourcehide
Sourcehide=(hide : Bool)
Sourceignore_error
Sourceignore_error=(ignore_error : Bool)
Sourcelog_dir
Sourcename
Sourcenum_of_done_jobs
Sourcenum_of_jobs
Sourceprepare_env
Sourceprogress
Sourceprogress_max
Sourceprogress_msg
Sourceprogress_percent
Sourceshown_command
Sourcesrc
Sourcesrc=(src : Array(String))
Sourcestatus_changed?
Sourcestatus_code
Sourcestatus_msg(indent_spaces = "")
Sourcestatus_msg_ci
Sourcetime_msg
Sourcetmp_dir
Sourcetmp_file(source : String) : String
Sourceto_s(indent = 0) : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
to_s_ci
Sourcews_dir
Source