[TIMOB-25879] iOS: Create modules in "dist" directory (Parity with Android)
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-08-24T17:30:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | iOS |
Labels | developer-experience |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2018-03-18T17:48:07.000+0000 |
Updated | 2018-08-24T17:30:49.000+0000 |
Description
This is all about parity and developer experience: Currently, iOS modules are created in the module root. Android uses the "dist" directory, which is better for separating it from the actual source code and module configuration.
PR: https://github.com/appcelerator/titanium_mobile/pull/9941 Test-Case:
Create a new module:
appc new -t timodule -p ios
Go to the module's
ios/
directoryPackage the module with
appc run -p ios --build-only
Verify that the packaged module is written to
<project-dir>/ios/dist/