[Sugar-devel] list of valid platforms for cordova platform add command

Puneet Kaur puneet.gkaur at gmail.com
Wed Jun 11 09:57:27 EDT 2014


ok so in my local directory , where I have cloned
https://github.com/apache/cordova-lib I added a new platform in
platforms.js and also followed the steps mentioned on
https://github.com/apache/cordova-lib#setup but my changes dont reflect on
cordova command line ..

am I missing something ?


On Wed, Jun 11, 2014 at 6:16 PM, Ian Clelland <iclelland at chromium.org>
wrote:

> Yep, you can see in the code for platform.js (same directory) that it
> requires 'platforms', and uses the keys from that object as the list of
> available platforms.
>
>
> On Wed, Jun 11, 2014 at 12:29 AM, Puneet Kaur <puneet.gkaur at gmail.com>
> wrote:
>
> >  from where does "cordova platform add <platform name>" command fetch the
> > platform's list ?
> >
> > is it from
> >
> >
> https://github.com/puneetgkaur/cordova-lib/blob/master/cordova-lib/src/cordova/platforms.js
> >  ?
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140611/20a550bb/attachment.html>


More information about the Sugar-devel mailing list