Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildOnly bool
BuildOnly will only build, but not update anything
var Hiss bool
Hiss hiss, said the snake
var InstallerOnly bool
InstallerOnly will only build the installer
var NoClean bool
NoClean skips cleaning of dirty files
var Quiet bool
Quiet enables silencing all output
var Revision string
Revision is the default Clover revision to use
var Spinner = spinner.New(spinner.CharSets[14], 100*time.Millisecond)
Spinner is the CLI spinner/activity indicator
var Toolchain string
Toolchain to use when building Clover
var UpdateOnly bool
UpdateOnly will only update repositories, but not build anything
var Verbose bool
Verbose enables global verbose output
var Version = "0.0.0"
Version is set in main.go and is overridable when building
Functions ¶
Types ¶
type ClobberLogFormatter ¶
type ClobberLogFormatter struct { }
ClobberLogFormatter is a custom log formatter
type ErrorWriterHook ¶ added in v0.3.0
ErrorWriterHook handles logging errors in quiet/non-verbose mode
func (*ErrorWriterHook) Fire ¶ added in v0.3.0
func (hook *ErrorWriterHook) Fire(entry *logrus.Entry) error
Fire formats the error log and writes it to the output
func (*ErrorWriterHook) Levels ¶ added in v0.3.0
func (hook *ErrorWriterHook) Levels() []logrus.Level
Levels define on which log levels this hook would trigger