[DAEMON-243] Create titaniumlib with tiapp.xml parsing, sdk and module detection logic
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Critical |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | titaniumlib 4.0.0 |
| Components | appcd-plugin-titanium, titaniumlib |
| Labels | cb-next, titaniumlib |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2018-03-09T17:26:27.000+0000 |
| Updated | 2020-03-31T16:16:24.000+0000 |
Description
Create a new repo
titaniumlib that contains the logic for parsing tiapp.xml files as well as the TiSDK and module detection code and scan paths from appcd-plugin-titanium-sdk.
appcd-plugin-titanium will need to be updated to call titaniumlib for the sdk and module detection.
The tiapp.xml parsing logic is to be lifted from node-titanium-sdk and freshened up with some ES6 syntax.
Current tiapp.xml documentation: https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference.
tiapp.xml proposal: https://techweb.axway.com/confluence/display/pe/Proposal%3A+Titanium+Project+Configuration
Lib created (https://github.com/appcelerator/titaniumlib) and published as 0.0.0 to npm while I move across functionality. Owners appcelerator and cb1kenobi added on npm
Moved module and sdk info into repo, added tests https://github.com/appcelerator/titaniumlib/pull/1