Github user vladimir-kotikov commented on the pull request:
https://github.com/apache/cordova-android/pull/248#issuecomment-175576742
@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](https://github.com/gotwarlost/istanbul#the-cover-command) and [`npm run`
help](https://docs.npmjs.com/cli/run-script#description)).
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]