Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2988 Add a ./cordova/lib/install-device project-level helper script
  3. CB-2991

Add a ./cordova/lib/install-device project-level helper script to BlackBerry

    XMLWordPrintableJSON

Details

    Description

      install-device [--target=id]
      

      Installs a build of the app to an available device.

      If --target is specified, attempts to install the app to the device identified by id. If the attempt fails, the script will error out with an appropriate error message and exit with code 2.

      If no --target is specified, follows this multi-device flow:

      1. Are there any devices available, i.e. connected? (use list-devices CB-2975 to determine this). If so, target the first one, otherwise continue.
      2. Print an error message and exit with code 2.

      If the application is not compiled/built yet, the script will error out with an appropriate error message and exit with code 2.

      If this functionality is not implementable, print out an appropriate error message and exit with code 1.

      Attachments

        Activity

          People

            bryanhiggins Bryan Higgins
            filmaj Filip Maj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: