Stacker
Constants
GIT_REF = {{ (`git log -n 1 --format=\"%H\" | head -c 8`).chomp.stringify }}
VERSION = {{ (`shards version /tmp/tmp.iAKJNk/src/src`).chomp.stringify }}
Class methods
close_log_file!
Sourceconfig
Sourceconfig=(config : Config | Nil)
Sourceload_config(config_path)
Sourcelog_file
Sourcelog_to_stdout?
Sourcelogger
Sourcereopen_log_file!
Reopen the log file after a rotation.
The backend memoizes the File it writes to, so it has to be dropped as well:
keeping it would go on writing to the rotated (renamed) file forever.
setup_log
Sourcesetup_signals
Sourcestart_server
Sourcestop_server
Sourceunknown_args(args = ARGV.dup)
Return the arguments Stacker does not act on.
Anything left once the subcommand and Stacker's own flags are removed would be silently ignored, so the caller reports it instead of pretending to honour it.
version
Source