[TIMOB-24498] Expose "ti clean" for module builds
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2018-02-06T19:15:50.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android, iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Eric Merriman |
| Created | 2017-03-20T15:12:45.000+0000 |
| Updated | 2018-02-06T19:15:50.000+0000 |
Description
We use
appc ti clean for project cleanup, but we cannot use it for module builds. Looks like [~cwilliams] noticed the same [here](https://github.com/appcelerator-modules/ti.facebook/pull/84/commits/517537d69604d65ca7ac975ced8aab01f3578d88#diff-58231b16fdee45a03a4ee3cf94a9f2c3R78). Relevant directories to clean up are:
* build
* libs
* dist
On Android, build/docs needs to be manually created after flushing it, or use ensureDirSync.
Duplicate of TIMOB-23247