class

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)
Source

Instance methods

add_sources(source_files : Array(String))
Source
add_sub_job(job : Job, env : String | Nil)
Source
after
Source
before
Source
clean_tmp
Source
commands
Source
create_dir
Source
current_command
Source
depends_on
Source
dir=(dir : String)
Source
done?
Source
done_command
Source
elapsed_time
Source
env=(env : String | Nil)
Source
exec(channel : Channel(Nil) | Nil = nil)
Source
exec_commands(commands : Array(String), stdout, stderr)
Source
exec_self
Source
exec_sub_job_parallel
Source
exec_sub_job_sequential
Source
file_tail(path : String) : String
Source
get_progress
Source
has_parent_job?(sub_job_name : String) : Bool
Source
hide
Source
hide=(hide : Bool)
Source
ignore_error
Source
ignore_error=(ignore_error : Bool)
Source
log_dir
Source
name
Source
num_of_done_jobs
Source
num_of_jobs
Source
prepare_env
Source
progress
Source
progress_max
Source
progress_msg
Source
progress_percent
Source
shown_command
Source
src=(src : Array(String))
Source
status_changed?
Source
status_code
Source
status_msg(indent_spaces = "")
Source
status_msg_ci
Source
time_msg
Source
tmp_dir
Source
tmp_file(source : String) : String
Source
to_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.

Source
to_s_ci
Source
up_to_date?

TODO: should be fixed

Source
ws_dir
Source