On Fri, 20 Oct 2017 16:01:30 +0800
Ben Lau <[email protected]> wrote:

> What if it change the condition. Let's it just starts a web server for
> providing mock data to test network service?
> 
> For example, just run `http-server $SRCDIR/mockdata`? (Assume the data is
> hard coded in a few set of json files)

I'm not sure I get what you are saying, but if you mean that your rule should 
have no inputs (which is questionable in your example, since it should depend 
on the json files), then just set the rule's "requiresInputs" property to true.


Christian
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to