On Tue, 12 Dec 2017 14:20:01 +0100
Ola Røer Thorsen <o...@silentwings.no> wrote:

> To run the command inside the outputArtifacts script, I'll use the Process
> object, right?


> What is the exact condition for when this script is run? Is it only
> whenever any of the inputs are modified (or the qbs file I guess)?

Whenever any input has a timestamp newer than any output, or if a property 
accessed in the rule has changed its value since the last run, or if the rule 
source code has changed.
Modifications to the qbs file only cause rule re-execution if there are 
relevant changes as described above.

> What's the simplest way to define a dummy command in the prepare-script?

var cmd = new JavaScriptCommand();
cmd.silent = true; // Or cmd.description = "<your choice>";
cmd.sourceCode = function() {}

Qbs mailing list

Reply via email to