[
https://issues.apache.org/jira/browse/CB-13412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16195433#comment-16195433
]
Filip Maj commented on CB-13412:
--------------------------------
Some prior documentation on where shreds of this exist:
-
https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-gradle-properties
-
https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#using-flags
-
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#xcode-build-flags
-
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#using-flags
-
https://cordova.apache.org/docs/en/latest/guide/platforms/win8/#the---appx-parameter
Some places in code to look for more:
-
https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/build.js#L34-L49
- and ios / windows build scripts would be another good place to look for any
ones that we missed.
> Document platform specific CLI options
> --------------------------------------
>
> Key: CB-13412
> URL: https://issues.apache.org/jira/browse/CB-13412
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-android, cordova-docs, cordova-ios
> Reporter: Jan Piotrowski (Sujan)
> Assignee: Joe Bowser
>
> 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:
> {quote}
> <platformOpts> To provide platform specific options, you must include them
> after -- separator. Review platform guide docs for more details.
> {quote}
> But in the "platform guide docs" I can't find anything.
> [~filmaj] suggested: `--` forwards arguments to the underlying build scripts
> that are present in each platform.
> So these should probably investigated, inventoried and documented.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]