As Shazron mentioned in JIRA issue - "...this feature should delegate to the 
clean commands for each platform".
That is, 'clean' command just runs the 'clean' script for each platform.  What 
exactly does that script is depends on platform, but in most cases it runs 
build system with clean task, or just removes build output directories. E.g.;
* Android: 'gradle clean' or  'ant clean',
* iOS: 'xcodebuild -project <projectName> -configuration Debug -alltargets 
clean',
* Windows: 'rm -rf <project>\platforms\windows\AppPackages && rm -rf 
<project>\platforms\windows\build',
etc.

---------------
Best regards, Vladimir

-----Original Message-----
From: Raymond Camden [mailto:[email protected]] 
Sent: Wednesday, 10 June, 2015 15:56
To: [email protected]
Subject: Re: [GitHub] cordova-cli pull request: CB-5578 Adds `clean` command to 
cordova-...

I looked at the bug referenced by this PR 
(https://issues.apache.org/jira/browse/CB-5578), but the bug doesn't say what 
this new command actually does. I can guess, but can someone explain exactly 
what this new feature does? Forgive me if I missed the mail on this.

On Tue, Jun 9, 2015 at 9:48 AM, vladimir-kotikov <[email protected]> wrote:
> GitHub user vladimir-kotikov opened a pull request:
>
>     https://github.com/apache/cordova-cli/pull/216
>
>     CB-5578 Adds `clean` command to cordova-cli
>
>
>
> You can merge this pull request into a Git repository by running:
>
>     $ git pull https://github.com/MSOpenTech/cordova-cli CB-5578
>
> Alternatively you can review and apply these changes as the patch at:
>
>     https://github.com/apache/cordova-cli/pull/216.patch
>
> To close this pull request, make a commit to your master/trunk branch 
> with (at least) the following in the commit message:
>
>     This closes #216
>
> ----
> commit fbc241b8083a0005cb154668d5ad3b28782ae60c
> Author: Vladimir Kotikov <[email protected]>
> Date:   2015-06-09T13:41:08Z
>
>     CB-5578 Adds `clean` command to cordova-cli
>
> ----
>
>
> ---
> 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]
>



--
===========================================================================
Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected]
Blog : www.raymondcamden.com
Twitter: raymondcamden

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to