diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-05-23 21:58:06 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-06-01 08:44:03 +0000 |
commit | 8e05c6364ae0573bade42ed6eecaab000f8693e4 (patch) | |
tree | 9a9a3c48bb23352e04b45ca0b0a5bf04bcf8269e /src/lib/corelib/buildgraph/processcommandexecutor.cpp | |
parent | 85b18994af3dc678a5384f733db008a1394b40f0 (diff) |
Provide the ability to let commands bypass dry-run mode.
This allows these commands to run even in dry-run mode. This is for
internal use ONLY in building the helper tools for Java, TypeScript,
etc., dependency tracking and is not intended to be exposed to users.
Change-Id: I36130131363aa6247f10b9824726f73df9d7031f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/processcommandexecutor.cpp')
-rw-r--r-- | src/lib/corelib/buildgraph/processcommandexecutor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/processcommandexecutor.cpp b/src/lib/corelib/buildgraph/processcommandexecutor.cpp index e7687bdd8..6f36838d6 100644 --- a/src/lib/corelib/buildgraph/processcommandexecutor.cpp +++ b/src/lib/corelib/buildgraph/processcommandexecutor.cpp @@ -93,7 +93,7 @@ void ProcessCommandExecutor::doStart() QStringList arguments = m_arguments; - if (dryRun()) { + if (dryRun() && !cmd->ignoreDryRun()) { QTimer::singleShot(0, this, SIGNAL(finished())); // Don't call back on the caller. return; } |