[TIMOB-24155] Module build: Allow multiple platforms to be built and bundled together
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | cb-tooling |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2016-11-17T19:41:08.000+0000 |
Updated | 2020-01-30T18:55:52.000+0000 |
Description
So, we changed our module CLI to use the appc-cli instead of the now deprecated python scripts. This works great for compiling and packaging module (
appc ti build -p ios --build-only
) and (appc ti build -p android --build-only
). But for some modules (appcelerator.https, appcelerator.encrypteddatabase, ti.geofence, ...) we use one script to compile and package both platform together, e.g. [this one|*strong text*]. Unfortunately, it calls the platform-specific python scripts instead of the CLI, so stuff like packaging hooks (TIMOB-24041) won't work.
So we either change the python script to call the CLI commands or create a node file to do the same (like we've done with our scons-commands).
For now, we can manually package the modules and put them together, but everybody should be aware that using the python scripts will now produce invalid modules and we may want to remove them from the repos completely.
No comments