Fwiw, BlackBerry 10 is building both (tested w/ cordova 4.3.1-dev and 
blackberry10 3.7.0):

$ cordova -v
4.3.1-dev (cordova-lib@4.2.1-dev)
$ cordova platform update blackberry10
Updating blackberry10 project...
BlackBerry10 project is now at version 3.7.0
$ cordova build
Running command: "platforms/blackberry10/cordova/build"
[WARN]    Using legacy signing keys
[INFO]    Populating application source
[INFO]    Parsing config.xml
[INFO]    Generating output files
[INFO]    Package created: platforms/blackberry10/build/simulator/bb10app.bar
[INFO]    Package created: platforms/blackberry10/build/device/bb10app.bar
[INFO]    BAR packaging complete

(all paths excised)

> -----Original Message-----
> From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of
> Michal Mocny
> Sent: Tuesday, March 03, 2015 5:50 PM
> To: dev
> Subject: Re: [CLI] Default target when not specified for "build", "compile"?
>
> Imho, it should do what: "cordova run" would do.
>
> I would think it would run once for each platform, defaulting to device if
> attached.
>
> On Tue, Mar 3, 2015 at 4:37 PM, Shazron <shaz...@gmail.com> wrote:
>
> > What is the expected behaviour here?
> > `cordova build`
> >
> > My expectation is that it would build for both device and emulator. In
> > iOS pre-3.8.0 it does, but now it only builds for emulator only after
> > the node.js script port, which may or may not be a bug depending on
> > consensus.
> >
> > The online docs and cli docs do not give any clue regarding this.
> >
> > What do other platforms experience?
> >
> > The problem with building for both device and emulator is your build
> > times now approximately double.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
> > For additional commands, e-mail: dev-h...@cordova.apache.org
> >
> >

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to