cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <>
Subject [GitHub] cordova-android pull request: Parse options correctly
Date Wed, 27 Jan 2016 11:45:06 GMT
Github user vladimir-kotikov commented on the pull request:
    @Mitko-Kerezov, my bad, i missed you name in CLA list
    Regarding the
    > the usage of -- basically suggests "I want to stop passing options and start passing
actual arguments - filenames, etc"
    I'd say it tells "do not consider the options behind me, just pass them to underlying
script" (see, for example, [istanbul docs](
and [`npm run` help]( 
    There is two possible ways to run build: `platforms/android/cordova/build --ant` and `cordova
build android -- --ant` usage. In the first case `--` delimiter is not needed, indeed, because
you're running the script directly, but in the second it means that CLI will ignore these
options and just pass them to android's `build`.
    It is also still necessary for compatibility reasons (IMO, changing the way how CLI arguments
are treated is a breaking change).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message