Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D15C11C40 for ; Wed, 11 Jun 2014 13:57:54 +0000 (UTC) Received: (qmail 92665 invoked by uid 500); 11 Jun 2014 13:57:53 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 92628 invoked by uid 500); 11 Jun 2014 13:57:53 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 92617 invoked by uid 99); 11 Jun 2014 13:57:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2014 13:57:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of puneet.gkaur@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-la0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2014 13:57:51 +0000 Received: by mail-la0-f48.google.com with SMTP id gl10so100447lab.21 for ; Wed, 11 Jun 2014 06:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l9veAXsm3OA10uCbC6PT7yGw4PRPct8YoHqeSKWVSMg=; b=BuekucJsp8h1NTFyFtCJnR1fqlalROjLcfBI3tQp0d6gP3qdoUmFHPy/lfG4eKtW2r nRklF98i1qu/cbVDUjWraWBGaAboRYTYnQjOOsS6dmdQssovird7wDXfiUXsikmTDL59 wf7E/u6Jx6i4UhSrGUj0Go5aBlwBdosaHUEHqlmP/oKCpG3vpe7HXv9yyHjZnUKutCVi DIkluuQYGPp+Sck8xj6XR4EG7HA4+5FI28iDW9COS817Fuozoqdcxo6AQUh9MSfN3NbT 1PeLaDebTne5nKUzzGmf5biozwf0MMZxnbtHR94iaWyHV/3h3mlXkXTbHoAvEVJ0ri/P oPwg== MIME-Version: 1.0 X-Received: by 10.152.121.97 with SMTP id lj1mr1280865lab.84.1402495047541; Wed, 11 Jun 2014 06:57:27 -0700 (PDT) Received: by 10.152.170.131 with HTTP; Wed, 11 Jun 2014 06:57:27 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jun 2014 19:27:27 +0530 Message-ID: Subject: Re: list of valid platforms for cordova platform add command From: Puneet Kaur To: dev@cordova.apache.org, Sugar Devel , Lorin Beer , Mark Koudritsky Cc: =?UTF-8?Q?Lionel_Lask=C3=A9?= , Suraj K S Content-Type: multipart/alternative; boundary=089e011615ea1ba99804fb8fd38a X-Virus-Checked: Checked by ClamAV on apache.org --089e011615ea1ba99804fb8fd38a Content-Type: text/plain; charset=UTF-8 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 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 > wrote: > > > from where does "cordova platform add " command fetch the > > platform's list ? > > > > is it from > > > > > https://github.com/puneetgkaur/cordova-lib/blob/master/cordova-lib/src/cordova/platforms.js > > ? > > > --089e011615ea1ba99804fb8fd38a--