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 BDB02108C5 for ; Fri, 20 Sep 2013 13:58:09 +0000 (UTC) Received: (qmail 46315 invoked by uid 500); 20 Sep 2013 13:58:08 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 46286 invoked by uid 500); 20 Sep 2013 13:58:08 -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 46278 invoked by uid 99); 20 Sep 2013 13:58:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 13:58:07 +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 mmocny@google.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 13:58:01 +0000 Received: by mail-ob0-f174.google.com with SMTP id uz6so567088obc.5 for ; Fri, 20 Sep 2013 06:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Lfo/5+Dyf+9mrhYXln/bqH+1KdKF8D73KLQDqXoempQ=; b=LGhaaGgWFzi152vfUTk8b/CDO//wkQSRWHKk24yx2pREvBdv5XTVgfTFdSxggLiT48 TUBYSBZTh6TctgQHlkxT2CopfOvI7pcu7zML+ZkwmcmyrMY046hmHhOLeg57zTCudtEK U03/TohE+xNdydjqvPr4yNhf9RYUBGefZ2hcsdzt+Woh1QTR9M2FQwojYGHGh6kdh73B rIZmMhAkXToYdLTUCLXYp5JEeLjFWNKg30ZLdN+qOh7d6x9KAmSNWPdUfPO0BwZL1JP7 smV7GH+flxsx5+1rKWJt6dOlzp5UL2Fv4Nn58TaREoE+9ZAC0RLEvpMCA6tTxAcoMhuC zG8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Lfo/5+Dyf+9mrhYXln/bqH+1KdKF8D73KLQDqXoempQ=; b=eCX7r6A/hrM0lkRmgkk6dNRmCABookI2CupvfGyneqAJXFpe50uHIy8h7h7Y/uop+1 EnruWE50j1rcFDcNBUo/8oP/M2tFxRYW7mwy0/rYMFliFXO/wXzIENTq3yHiClWVgQVB Oa3EtRSE1RKzekQBhuCjtsq2m2MRxXPCHgDms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=Lfo/5+Dyf+9mrhYXln/bqH+1KdKF8D73KLQDqXoempQ=; b=KEPYPLmHlQK4B6m9/vVJMduEXpLCX0r8/u/T/8zU6R/0uHWwcZLlCfnS634SLROnD8 qJVA2YO552bv1/E3hYxgcZ5pf4Enghfz4/gZ2q/Us1lZj09zyqEojc50km6/XqvDki3X FVBXjyfiy49jLdDZQbKhJ4p1KvxU6rXQkD92KaqveaBwwgJr+V+0K9Q02jDEskUoAgKh kpd1nYgICccCqRKrU4+Wt7seIsnpwc+MGsCNrjyClwv/BMyry9inGW6U2f12DbWTGtcg 9zmkHC94T32xegoSDORgzHbOaqLm1d9I8RQL0++kBJJgu5KbNGehtFrzZJOJ7BrpCvVM tNnw== X-Gm-Message-State: ALoCoQk4nqQ6cLPrGZpddSQa4QAYSiQR2Bek2e1+7zt2myBiK1dop7pS92fa25nbu+1oF5L/PBBdUZCqFOiKgonadBVC1olD+6o3wJbacs0hXBumhCxgiN1pksmHOX920wn92WT41bQUQMH14F+u82iEtggvWZpWBAAUWHy4CozJ1LeemxQ9JY9A1VWVclztmio9I2IITysMHNxNKsEFfrYEqRHvtdXzcQ== X-Received: by 10.60.52.81 with SMTP id r17mr6233292oeo.3.1379685460102; Fri, 20 Sep 2013 06:57:40 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.182.139.100 with HTTP; Fri, 20 Sep 2013 06:57:19 -0700 (PDT) In-Reply-To: References: <09C96D16-53A6-4E30-9E49-B421A0E12107@gmail.com> <2d9f1f4ecbd948fb9619904e450be97d@BN1PR07MB135.namprd07.prod.outlook.com> <77E55741-26EB-4F61-940E-8481F70CD2F1@gmail.com> From: Michal Mocny Date: Fri, 20 Sep 2013 06:57:19 -0700 X-Google-Sender-Auth: FLpSKR1ZCex6wCkhPjPjqtupvGk Message-ID: Subject: Re: What's your daily workflow for cordova development? To: dev Content-Type: multipart/alternative; boundary=001a1133073ac0bb6304e6d10d1f X-Virus-Checked: Checked by ClamAV on apache.org --001a1133073ac0bb6304e6d10d1f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable plugman create could be used outside of a project, and cordova plugin create should be used only inside of a project? All other cordova commands must be used inside a project (except the "create" entry point), and if we decide to ship the plugin templates with platforms, and/or decide to make the global cordova command just a grunt-cli like thing, etc etc, then I would worry about adding uses for cordova command in some global context. On Fri, Sep 20, 2013 at 6:42 AM, Lucas Holmquist wrote= : > So currently when doing > > $ cordova plugin =85. > > it fails if you are not in a cordova project. > > but > > $ cordova plugin create > > might not be used inside a project( i think it shouldn't be used inside a > project at all, but i can be convinced otherwise ) > > > On Sep 4, 2013, at 10:46 PM, lmnbeyond wrote: > > > > > > >> I also think it should sub-shell to a platform script. We already have > >> a `project template` folder in each platform. We can easily add a > >> `plugin template` as well and write a quick create_plugin script. > >> > >> What do you guys think of the workflow I described above ? Any > >> comments ? I can create jira issues for it and tackle it. > >> > >> -a > >> > > > > Hi Anis, > > > > I just want to confirm whether or not this is the workflow we are > talking about : > > > > For a brand new plugin: > > > > $ cordova plugin create /path/to/myPlugin > > $ cordova plugin add /path/to/myPlugin --watch > > > > > > For an existing plugin: > > > > $ cordova plugin add /path/to/corePlugin --watch > > > > > > Although, I'm not quite clear about the complexity behind this, I thin= k > the above workflow is great for me! > > > > > > > > > > > > > > --001a1133073ac0bb6304e6d10d1f--