cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: [cordova-cli] versioning
Date Fri, 22 Mar 2013 20:08:20 GMT
As Tommay pointed out, you need to create the cordova project structure in
the first place with some manner of tool..

On 3/22/13 11:58 AM, "tommy-carlos Williams" <tommy@devgeeks.org> wrote:

>I don't have much to add except that I really like this about Grunt.
>
>However, it would get "interesting" with Cordova since the global is what
>creates a project in the first place. I still think it could work and
>have the global only responsible for creating dirs and setting up
>package.json stuff etc...
>
>+1 for looking into this.
>
>On 23/03/2013, at 4:53, Brian LeRoux <b@brian.io> wrote:
>
>> Right now the global executable is version locked to a Cordova
>> release. If you have a project running 2.5 you are required to have
>> Cordova/CLI 2.5. If you need to then work in Cordova 2.4 you need to
>> downgrade (not really but you would to be safe).
>> 
>> In Grunt .4 the global executable is dumb. It just shells to locally
>> installed ./node_module version of Grunt. This enables project level
>> versioning of Grunt. Nice feature. We can do the same thing: with the
>> caveat that you would then require a package.json and ./node_modules
>> folder in our Cordova projects.
>> 
>> Discuss.


Mime
View raw message