[Qbs] Writing a custom script by QBS
Ben Lau
xbenlau at gmail.com
Fri Oct 20 10:01:30 CEST 2017
On 20 October 2017 at 15:54, Christian Kandeler <christian.kandeler at qt.io>
wrote:
> On Fri, 20 Oct 2017 00:26:57 +0800
> Ben Lau <xbenlau at gmail.com> wrote:
>
> > > > Thanks for your reply. I have tried to run your example (by removing
> the
> > > > dependence). It will complain:
> > > >
> > > > *ERROR: *Cannot run: Product 'remote deployer' is not an application.
> > >
> > > You're not supposed to run it. Just build it, as described.
> > >
> > Sorry for the mistake. And that is the result. It is not triggered.
>
> If you've removed the dependency, that's to be expected: The rule has no
> inputs now, i.e. there's nothing to upload. You'll need to adapt the
> example, e.g. by depending on a simple CppApplication product and changing
> the rule input tag to "application".
>
>
> Christian
>
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20171020/4ddbe263/attachment.html>
More information about the Qbs
mailing list