Re: Issues with CLI

2013-03-06 Thread Filip Maj
Quick update. 1. Closed the issue re: adding version number into js script ref 2. Pushed 2.5.3 to npm. I've added the temp/ and spec/fixtures dirs to the .npmignore file. This reduces the tar size of the module from 60MB to 18MB. I was testing using the `npm pack` command, which just generates the

Re: Issues with CLI

2013-03-06 Thread Filip Maj
Thanks Pat, I'll take a look at what's packaged and see if we can trim some of this fat. The plist module, if it is 15MB, is ridiculousÅ  I'll add some stuff to the .npmignore file so the obvious stuff like temp, fixtures, etc don't get packed up when doing an npm publish. The spec/fixtures directo

Re: Issues with CLI

2013-03-06 Thread Filip Maj
Thanks for the feedback everyone! On 3/6/13 12:16 PM, "Becky Gibson" wrote: >Fil, perhaps I over explained! > >Regarding my question about the directory: > >>1) Although I could easily figure it out from the note about changing >ownership of the cordova directory, it would help to state up front

Re: Issues with CLI

2013-03-06 Thread Becky Gibson
Fil, perhaps I over explained! Regarding my question about the directory: >1) Although I could easily figure it out from the note about changing ownership of the cordova directory, it would help to state up front the directory where cordova will be installed. All I really want is to state that c

Re: Issues with CLI

2013-03-06 Thread Brian LeRoux
I love the theory of a global cli that is so well designed that we never have to change it and everything 'just works' across versions. I suspect we may want this to bake as the 'official way' for some time before we attmpt it. On Wed, Mar 6, 2013 at 9:46 AM, Patrick Mueller wrote: > On Wed, Mar

Re: Issues with CLI

2013-03-06 Thread Patrick Mueller
On Wed, Mar 6, 2013 at 12:37 PM, Don Coleman wrote: > I'd like to see cordova-cli get the phonegap version from config.xml like > phonegap build. > > > > It would be nice to semver this, so I could do something like making it easy (presumably) to upgrade to point releases (somehow).

Re: Issues with CLI

2013-03-06 Thread Don Coleman
I'd like to see cordova-cli get the phonegap version from config.xml like phonegap build. I'd also rather have cordova.js without the version appended. On Wed, Mar 6, 2013 at 12:31 PM, Patrick Mueller wrote: > On Wed, Mar 6, 2013 at 11:17 AM, Braden Shepherdson >wrote: > > > Like I sa

Re: Issues with CLI

2013-03-06 Thread Patrick Mueller
On Wed, Mar 6, 2013 at 11:17 AM, Braden Shepherdson wrote: > Like I said in Fil's bug about #5 (cordova-x.y.z.js vs. cordova.js), I > disagree fairly strongly with changing this. > Using version numbers for the file in the CLI is a pain. ... +1 -- Patrick Mueller http://muellerware.org

Re: Issues with CLI

2013-03-06 Thread Patrick Mueller
On Tue, Mar 5, 2013 at 2:39 PM, Becky Gibson wrote: > I played around a bit with cordova-cli and have a few comments and > questions. Been a long time since I've looked at this, so I just did, and have a few comments. Nice work so far! First, to get going quickly, I did this: cd ~/tmp

Re: Issues with CLI

2013-03-06 Thread Braden Shepherdson
Like I said in Fil's bug about #5 (cordova-x.y.z.js vs. cordova.js), I disagree fairly strongly with changing this. Using version numbers for the file in the CLI is a pain. It introduces pain when updating the CLI and Cordova and adds complexity to the CLI, but gains us nothing. When users of Cord

Re: Issues with CLI

2013-03-05 Thread Filip Maj
My answers in line, thanks for taking the time to run through the tool Becky! On 3/5/13 11:39 AM, "Becky Gibson" wrote: > 1. Although I could easily figure it out from the note about changing > ownership of the cordova directory, it would help to state up front the > directory where cordov

Issues with CLI

2013-03-05 Thread Becky Gibson
I played around a bit with cordova-cli and have a few comments and questions. I think a bit more detail in the instructions would resolve most of my issues. I think I am a fairly good test subject with respect to Android since I am not familiar with the SDK and don't use it much. I also haven'