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

Document platform specific CLI options

    XMLWordPrintableJSON

    Details

      Description

      Seems `cordova build android – --versionCode=1` is a thing and works: https://stackoverflow.com/a/40274188/252627

      https://cordova.apache.org/docs/en/7.x/reference/cordova-cli/index.html#cordova-build-command has:

      <platformOpts> To provide platform specific options, you must include them after – separator. Review platform guide docs for more details.

      But in the "platform guide docs" I can't find anything.

      Filip Maj suggested: `--` forwards arguments to the underlying build scripts that are present in each platform.

      So these should probably investigated, inventoried and documented.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bowserj Joey Robert Bowser
                Reporter:
                Sujan12 Jan Piotrowski (janpio)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: