You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Don Coleman <do...@gmail.com> on 2014/08/21 20:31:52 UTC
Plugin path when installing from git
What's the syntax for installing a plugin from a subdirectory in git?
I can install the plugin from a local copy with
cordova plugin add ~/phonegap-nfc/tests
But I can't figure out the URL to install this from git
https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests
Re: Plugin path when installing from git
Posted by Michal Mocny <mm...@chromium.org>.
Thanks!
On Fri, Aug 22, 2014 at 1:23 PM, Don Coleman <do...@gmail.com> wrote:
> Thanks Michal, I was looking for this in the plugman docs instead of the
> cordova docs.
>
> Nice work on the plugin test framework
> <https://github.com/apache/cordova-plugin-test-framework>.
>
>
> On Thu, Aug 21, 2014 at 2:29 PM, Michal Mocny <mm...@chromium.org> wrote:
>
> > http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html
> >
> > You can also combine both the git-ref and the subdirectory:
> >
> > $ cordova plugin add
> > https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir
> >
> >
> >
> > On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman <do...@gmail.com>
> > wrote:
> >
> > > What's the syntax for installing a plugin from a subdirectory in git?
> > >
> > > I can install the plugin from a local copy with
> > >
> > > cordova plugin add ~/phonegap-nfc/tests
> > >
> > > But I can't figure out the URL to install this from git
> > > https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests
> > >
> >
>
Re: Plugin path when installing from git
Posted by Don Coleman <do...@gmail.com>.
Thanks Michal, I was looking for this in the plugman docs instead of the
cordova docs.
Nice work on the plugin test framework
<https://github.com/apache/cordova-plugin-test-framework>.
On Thu, Aug 21, 2014 at 2:29 PM, Michal Mocny <mm...@chromium.org> wrote:
> http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html
>
> You can also combine both the git-ref and the subdirectory:
>
> $ cordova plugin add
> https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir
>
>
>
> On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman <do...@gmail.com>
> wrote:
>
> > What's the syntax for installing a plugin from a subdirectory in git?
> >
> > I can install the plugin from a local copy with
> >
> > cordova plugin add ~/phonegap-nfc/tests
> >
> > But I can't figure out the URL to install this from git
> > https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests
> >
>
Re: Plugin path when installing from git
Posted by Michal Mocny <mm...@chromium.org>.
http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html
You can also combine both the git-ref and the subdirectory:
$ cordova plugin add
https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir
On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman <do...@gmail.com> wrote:
> What's the syntax for installing a plugin from a subdirectory in git?
>
> I can install the plugin from a local copy with
>
> cordova plugin add ~/phonegap-nfc/tests
>
> But I can't figure out the URL to install this from git
> https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests
>