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 1D245101C6 for ; Tue, 4 Jun 2013 19:05:18 +0000 (UTC) Received: (qmail 7587 invoked by uid 500); 4 Jun 2013 19:05:17 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 7567 invoked by uid 500); 4 Jun 2013 19:05:17 -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 7559 invoked by uid 99); 4 Jun 2013 19:05:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 19:05:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of benn.mapes@gmail.com designates 209.85.192.177 as permitted sender) Received: from [209.85.192.177] (HELO mail-pd0-f177.google.com) (209.85.192.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 19:05:13 +0000 Received: by mail-pd0-f177.google.com with SMTP id u10so665229pdi.36 for ; Tue, 04 Jun 2013 12:04:53 -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 :content-type; bh=lInIQC9Z1FEQ7HSgshbFkDP5ONmvZVkLso/mrBMzK2M=; b=o4eBeTr2QnAuL9+7+BnKZ9HXzmNBZz8GMjFVUwd6FbxK85oysC7pBiBSRadfwSLvxk BWLRJ88//A7NTBBRRUvykydcLbh8dNGjjrI0fpUEhVUIjZI1zOpk/PGXAKyMnDShnCoK SjPLhY3U62Pd2pYSeWD7PUl1NLmysgYVw8qrdzNW5vzBYjTMuhgUFI4Y2o98WKHzzpme NFAlSHyag5z10GTSviIaWaJkId97zoi9iT6yjHsoQM/+DJIFPRSS/a9aAmnxc1LrItas rbGqGUbJbGVQuiIZwTPw4tGw3/JH6501eGsoJvaXrp8qgVrmSIHtFNmpqeFMQ1Irhccj ZqfA== MIME-Version: 1.0 X-Received: by 10.66.118.129 with SMTP id km1mr29447847pab.112.1370372693469; Tue, 04 Jun 2013 12:04:53 -0700 (PDT) Received: by 10.70.3.97 with HTTP; Tue, 4 Jun 2013 12:04:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Jun 2013 12:04:53 -0700 Message-ID: Subject: Re: [cli] Consolidating platform references From: Benn Mapes To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=e89a8ffbab6b9ab11204de58c104 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ffbab6b9ab11204de58c104 Content-Type: text/plain; charset=ISO-8859-1 Allright, I pushed the changes up to master2 https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=796ad93a062d5e963d947f4c740a7c330184b49e On Tue, Jun 4, 2013 at 9:32 AM, Michael Brooks wrote: > Great work Benn. Braden echoed exactly my thoughts. > > > On Tue, Jun 4, 2013 at 7:47 AM, Braden Shepherdson >wrote: > > > I've wanted to do this since I first opened the files in CLI. It's much > > better these days than it was, at least. Glad to see it's still moving. > > > > Braden > > > > > > On Mon, Jun 3, 2013 at 8:42 PM, Filip Maj wrote: > > > > > Works well for me on my machine, +1 > > > > > > On 6/3/13 5:40 PM, "Benn Mapes" wrote: > > > > > > >Working with the cordova-cli code I have noticed that there are lots > of > > > >repetitive platform-specific references in many of the files. I have > > tried > > > >to consolidate all of these into the platforms.js file at the root of > > the > > > >project. I push up this branch to apache: > > > > > > > > > > https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=shortlog;h=ref > > > >s/heads/platform-reorg > > > > > > > >As far as I know, all the test pass on windows and mac, I haven't > > > >physically tested every part yet to make sure this didn't break > anything > > > >but I believe not. > > > > > > > >This change is working towards consolidating all platforms so that > it's > > > >very easy to add and remove them if needed. The ultimate goal for > > adding a > > > >new platform should be to just add it to platforms.js and create a > > parser > > > >+ > > > >tests for it. > > > > > > > >Please let me know what you think, if everyone is in agreeance hen I > > will > > > >add this to the master2 branch. > > > > > > > >~Benn > > > > > > > > > --e89a8ffbab6b9ab11204de58c104--