cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: MobileSpec for testing cordova-lib@rc
Date Thu, 08 Jan 2015 20:20:34 GMT
Nice! Great example of how to use the JS API.

On Thu, Jan 8, 2015 at 2:55 PM, Mark Koudritsky <kamrik@google.com> wrote:

> Josh, thanks for the suggestion. Added it here
> <
> https://github.com/kamrik/cordova-test-rc/commit/d3a1abeda45357c4cf32b28e6e63cc269d7d3bda
> >
> as
> process.env.HOME = path.join(__dirname, 'home');
>
>
> On Thu, Jan 8, 2015 at 2:19 PM, Josh Soref <jsoref@blackberry.com> wrote:
>
> > Mark Koudritsky wrote:
> > >Trying to run MobileSpec with the tools release candidate yesterday
> > >inspired me to write a  script that would do it all with a single
> command
> > >and a local installation of cordova-lib@rc without affecting the global
> > >install/link. This also turned out to be a good example of how to use
> > >cordova via JS API without CLI.
> >
> > I'd suggest setting HOME to path.join(PWD, 'home');
> >
> > (or optionally doing that)
> >
> >
> > That avoids:
> >
> > * You may want to remove the ~/.cordova and ~/.plugman directories to
> > avoid using cached versions.
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message