button ~master (2018-11-15T00:26:20Z)
Dub
Repo
BuildOptions
button
cli
options
Undocumented in source.
@
Command
("build")
@
Description
("Runs a build.")
struct
BuildOptions {
@
Option
("file", "f")
@
Help
("Path to the build description.")
string
path
;
@
Option
("dryrun", "n")
@
Help
("Don't make any functional changes. Just print what might happen.")
OptionFlag
dryRun
;
@
Option
("threads", "j")
@
Help
("The number of threads to use. Default is the number of logical cores.")
@
MetaVar
("N")
size_t
threads
;
@
Option
("color")
@
Help
("When to colorize the output.")
@
MetaVar
("{auto,never,always}")
string
color
;
@
Option
("verbose", "v")
@
Help
("Display additional information such as how long each task took to" ~ " complete.")
OptionFlag
verbose
;
@
Option
("autopilot")
@
Help
("After building, continue watching for changes to inputs and" ~ " building again as necessary.")
OptionFlag
autopilot
;
@
Option
("watchdir")
@
Help
("Used with `--autopilot`. Directory to watch for changes in. Since" ~ " FUSE does not work with inotify, this is useful to use when" ~ " building in a union file system.")
string
watchDir
;
@
Option
("delay")
@
Help
("Used with `--autopilot`. The number of milliseconds to wait for" ~ " additional changes after receiving a change event before starting" ~ " a build.")
size_t
delay
;
}
Members
Variables
autopilot
OptionFlag
autopilot
;
Undocumented in source.
color
string
color
;
Undocumented in source.
delay
size_t
delay
;
Undocumented in source.
dryRun
OptionFlag
dryRun
;
Undocumented in source.
path
string
path
;
Undocumented in source.
threads
size_t
threads
;
Undocumented in source.
verbose
OptionFlag
verbose
;
Undocumented in source.
watchDir
string
watchDir
;
Undocumented in source.
Meta
Source
See Implementation
button
cli
options
aliases
OptionsList
enums
ConvertFormat
functions
runCommand
structs
BuildOptions
CleanOptions
Command
ConvertOptions
Description
GCOptions
GlobalOptions
GraphOptions
HelpOptions
InitOptions
StatusOptions
VersionOptions
variables
globalHelp
globalUsage