Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4548 Create platform level scripts for FFOS
  3. CB-4558

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None

    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-2972 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.

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            stevegill Steve Gill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: