diff options
Diffstat (limited to 'src/build.h')
-rw-r--r-- | src/build.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/build.h b/src/build.h index b79ffae..4574e20 100644 --- a/src/build.h +++ b/src/build.h @@ -58,9 +58,14 @@ struct CommandRunner { }; struct BuildConfig { - BuildConfig() : verbose(false), dry_run(false) {} - - bool verbose; + BuildConfig() : verbosity(NORMAL), dry_run(false) {} + + enum Verbosity { + NORMAL, + QUIET, // No output -- used when testing. + VERBOSE + }; + Verbosity verbosity; bool dry_run; }; |