Liking cljdoc? Tell your friends :D

cljstyle.task.util

Common utilities for output and option sharing.

Common utilities for output and option sharing.
raw docstring

*options*clj

Runtime options.

Runtime options.
sourceraw docstring

*suppress-exit*clj

Bind this to prevent tasks from exiting the system process.

Bind this to prevent tasks from exiting the system process.
sourceraw docstring

colorizeclj

(colorize s color)

Wrap the string in ANSI escape sequences to render the named color.

Wrap the string in ANSI escape sequences to render the named color.
sourceraw docstring

duration-strclj

(duration-str elapsed)

Format a duration in milliseconds for human consumption.

Format a duration in milliseconds for human consumption.
sourceraw docstring

exit!clj

(exit! code)

Exit a task with a status code.

Exit a task with a status code.
sourceraw docstring

load-configsclj

(load-configs label file)

Load parent configuration files. Returns a merged configuration map.

Load parent configuration files. Returns a merged configuration map.
sourceraw docstring

logclj

(log & messages)

Log a message which will only be printed when verbose output is enabled.

Log a message which will only be printed when verbose output is enabled.
sourceraw docstring

logfclj

(logf message & fmt-args)

Log a formatted message which will only be printed when verbose output is enabled.

Log a formatted message which will only be printed when verbose output is
enabled.
sourceraw docstring

optionclj

(option k)

Return the value set for the given option, if any.

Return the value set for the given option, if any.
sourceraw docstring

printerrclj

(printerr & messages)

Print a message to standard error.

Print a message to standard error.
sourceraw docstring

printerrfclj

(printerrf message & fmt-args)

Print a message to standard error with formatting.

Print a message to standard error with formatting.
sourceraw docstring

report-statsclj

(report-stats results)

General result reporting logic.

General result reporting logic.
sourceraw docstring

search-rootsclj

(search-roots paths)

Convert the list of paths into a collection of search roots. If the path list is empty, uses the local directory as a single root.

Convert the list of paths into a collection of search roots. If the path
list is empty, uses the local directory as a single root.
sourceraw docstring

warn-legacy-configclj

(warn-legacy-config)

Warn about legacy config files, if any are observed.

Warn about legacy config files, if any are observed.
sourceraw docstring

with-optionscljmacro

(with-options opts & body)

Evaluate the expressions in body with the print options bound to opts.

Evaluate the expressions in `body` with the print options bound to `opts`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close