Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4715

Allow adding a plugin from cli in a git subdirectory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.0
    • 3.1.0
    • cordova-cli
    • None
    • Windows 8

    Description

      Context:
      While trying to setup my environment for testing cordova, I had a hard time with 'mobile spec' (didn't realize a dependency plugin already was in the folder)

      I created a simple patch that allows to specify a sub-directory for git within the command line:

      cordova plugin add https://github.com/jbondc/cordova-labs?subdir=cordova-deps-mobile-spec

      It works by pulling all the dependencies from:
      https://github.com/jbondc/cordova-labs/blob/master/cordova-deps-mobile-spec/plugin.xml

      Patch is here:

      https://github.com/jbondc/cordova-cli/commit/40bc57c86545e7ccb3770013a63e793ce713736d

      Attachments

        Issue Links

          Activity

            People

              shepheb Braden Shepherdson
              jbondc Jonathan Bond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: