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 8070D104B9 for ; Thu, 8 Jan 2015 19:57:42 +0000 (UTC) Received: (qmail 4439 invoked by uid 500); 8 Jan 2015 19:57:43 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 4398 invoked by uid 500); 8 Jan 2015 19:57:43 -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 4385 invoked by uid 99); 8 Jan 2015 19:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 19:57:42 +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 (athena.apache.org: domain of kamrik@google.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 19:57:38 +0000 Received: by mail-qc0-f182.google.com with SMTP id r5so4265734qcx.13 for ; Thu, 08 Jan 2015 11:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gVE7EzA5mFYQ74DsoufzE1etI5cRBKJefVBEU8nN3Q8=; b=WjlmmtWk/Iv6UbFbTTNCmEmW0A74cgppJobx00cSJvbe2BigroVi0DhCaqNLQpwDWb pNB7GZagzPaDBV/rs6d6eAbpBH1TXRRZdHtcWzWSJOxdmNs9+V7jtCW2koEWQwxr1v2E 9a/McdQWAu0ybjR3katDpkHHTKXQOzJSWM+/WFiXtftZKPB24S8DF3kn0cW/x5n4o61S A+IBucUdIvbayaSXQkYGLaVKKIW33V/VzYqq/GYn6EYGoLRLJJ6vpkLCvTcPeszg+c6E o8lwdOgcRfpYF63oeliVvxdvllT5mxJSIXXYJAZpkbugbm7KwSWGhiU+2MDrg6dPuVM4 vwDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=gVE7EzA5mFYQ74DsoufzE1etI5cRBKJefVBEU8nN3Q8=; b=cqL1ed+GybvztswbJd3exXwqo4BiDXz+zt3C7IbSCHBAq2w83/24gzYroMY6AYh6jQ kF88v4tOYWrC9wUW0KQlHUqA0CNb/Q45cglTwb5yGxdylc6N3vBvz+2/CresxZGdGGaH z6i1JQ56QtyOjo+7TlBVf4cqAKU3xhfl6/MJU3AmlB9skR2dKDZzUHo63p9qgj/3Ep+7 ERYYq2o99HVidZnAuTuIffHB6mMBkrUh3ZbRtKAx8cFFbmVqYwTQKUOOqSve9xtw4H7Z jYT8er39nn/1hhkfdy/jGmKnRqHkGvx74QL1yGhA5yukTc8UKTb5pG5BKV8oew179Hys C8tw== X-Gm-Message-State: ALoCoQmtTiuaTD5pNdKVP83B/+yNnJZ1/b6PY8QKVPsbeHReCuXxiJWUfa3tLqPHX7JixYhfXvG+ MIME-Version: 1.0 X-Received: by 10.224.89.70 with SMTP id d6mr19406828qam.76.1420746947199; Thu, 08 Jan 2015 11:55:47 -0800 (PST) Received: by 10.96.85.227 with HTTP; Thu, 8 Jan 2015 11:55:47 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Jan 2015 14:55:47 -0500 Message-ID: Subject: Re: MobileSpec for testing cordova-lib@rc From: Mark Koudritsky To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=001a11c3c6aa1aa88f050c296d9a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3c6aa1aa88f050c296d9a Content-Type: text/plain; charset=UTF-8 Josh, thanks for the suggestion. Added it here as process.env.HOME = path.join(__dirname, 'home'); On Thu, Jan 8, 2015 at 2:19 PM, Josh Soref wrote: > Mark Koudritsky wrote: > >Trying to run MobileSpec with the tools release candidate yesterday > >inspired me to write a script that would do it all with a single command > >and a local installation of cordova-lib@rc without affecting the global > >install/link. This also turned out to be a good example of how to use > >cordova via JS API without CLI. > > I'd suggest setting HOME to path.join(PWD, 'home'); > > (or optionally doing that) > > > That avoids: > > * You may want to remove the ~/.cordova and ~/.plugman directories to > avoid using cached versions. > > > --001a11c3c6aa1aa88f050c296d9a--