RE: Browserify support for cordova-lib/cordova-cli

2014-08-06 Thread Vladimir Kotikov (Akvelon)
ercontent.com/u/4625315/cordova_android.js (Android) --- Best regards, Vladimir -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, 6 August, 2014 22:07 To: dev@cordova.apache.org; Suraj Pindoria Subject: Re: Browserify support for cordova-lib/c

Re: Browserify support for cordova-lib/cordova-cli

2014-08-06 Thread Steven Gill
out adding any plugin to > cordova.js). > > --- > Best regards, Vladimir > > > -Original Message- > From: Steven Gill [mailto:stevengil...@gmail.com] > Sent: Friday, 1 August, 2014 0:29 > To: dev@cordova.apache.org; Suraj Pindoria > Subject:

Re: Browserify support for cordova-lib/cordova-cli

2014-08-04 Thread Suraj Pindoria
ge- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Friday, 1 August, 2014 0:29 To: dev@cordova.apache.org; Suraj Pindoria Subject: Re: Browserify support for cordova-lib/cordova-cli This looks good to me. Anyone else want to test it before I merge it in? On Wed, Jul 30, 2014 at 3:3

RE: Browserify support for cordova-lib/cordova-cli

2014-08-04 Thread Vladimir Kotikov
ubject: Re: Browserify support for cordova-lib/cordova-cli This looks good to me. Anyone else want to test it before I merge it in? On Wed, Jul 30, 2014 at 3:38 PM, Suraj Pindoria < suraj.pindo...@yahoo.com.invalid> wrote: > So I updated this to include some of the additional use

Re: Browserify support for cordova-lib/cordova-cli

2014-07-31 Thread Steven Gill
This looks good to me. Anyone else want to test it before I merge it in? On Wed, Jul 30, 2014 at 3:38 PM, Suraj Pindoria < suraj.pindo...@yahoo.com.invalid> wrote: > So I updated this to include some of the additional use cases discussed > earlier. Now, running "cordova prepare --browserify" in

Re: Browserify support for cordova-lib/cordova-cli

2014-07-30 Thread Suraj Pindoria
So I updated this to include some of the additional use cases discussed earlier.  Now, running "cordova prepare --browserify" in an existing project will update it use prepare-browserify.  It also works with "cordova run --browserify".  Adding and removing plugins should still use the "--browser

Re: Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Michal Mocny
Sounds like a setting that would go well in .cordova/config.json, I think. -Michal On Tue, Jul 29, 2014 at 6:10 PM, Steven Gill wrote: > Decided to add a few more issues and organize around a master issue. > > https://issues.apache.org/jira/browse/CB-7190 > > If you guys think of other use cas

Re: Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Steven Gill
Decided to add a few more issues and organize around a master issue. https://issues.apache.org/jira/browse/CB-7190 If you guys think of other use cases, let us know! On Tue, Jul 29, 2014 at 2:47 PM, Suraj Pindoria < suraj.pindo...@yahoo.com.invalid> wrote: > Right now it only works when you ad

Re: Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Suraj Pindoria
Right now it only works when you add the plugins with the flag.  Current working use case: -Create a project -Add platform -Add plugins with browserify flag Adding a platform after does not use the proper browserify-prepare.  Obviously an issue. We just realized an issue we need to solve first.

Re: Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Michal Mocny
Just to confirm: Can I run "cordova prepare --browserify" is any existing workspace, or would I have needed to add all plugins / platforms with that flag as well? -Michal On Tue, Jul 29, 2014 at 3:27 PM, Steven Gill wrote: > cordova prepare --browserify works too > > https://issues.apache.org/

Re: Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Steven Gill
cordova prepare --browserify works too https://issues.apache.org/jira/browse/CB-7001 https://issues.apache.org/jira/browse/CB-7190 On Tue, Jul 29, 2014 at 12:02 PM, Suraj Pindoria < suraj.pindo...@yahoo.com.invalid> wrote: > Hi everyone, > > I have been working with Anis and Steve to add browse

Browserify support for cordova-lib/cordova-cli

2014-07-29 Thread Suraj Pindoria
Hi everyone, I have been working with Anis and Steve to add browserify support in cordova-lib and cordova-cli.  They way this is being done is through a flag in the CLI which then calls prepare-browserify versus the standard prepare, an example: "cordova plugin --browserify add org.apache.cordo