[ALOY-926] Allow --platform to specify multiple platforms or even "all"
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | Alloy 2.0.0 |
Components | Tooling |
Labels | alloy, compile, liveview, platforms |
Reporter | Fokke Zandbergen |
Assignee | Bruce Wayne |
Created | 2014-01-16T07:50:05.000+0000 |
Updated | 2015-11-14T18:51:10.000+0000 |
Description
For LiveView, TiShadow and RapidDev it would be of great use if we could do
alloy compile --platform ios,android
or alloy compile --platform all
to have Alloy compile for multiple or all platforms listed in tiapp.xml
under <deployment-targets />
. Then we could push to all connected devices, regardless of their platforms.
Most of the files are already in platform specific folders now. The only ones that are not are the builtins and app.js
. The builtins can easily me moved to the platform folders as well and I just tested that this would work for app.js
also, but that might not be the case for all SDKs?
BTW, I see that
animation.js
is both inResources/alloy/animation.js
andResource/alloy/[platform]/alloy/animation.js
andapp.js
is also both in the root as well as in the platform folders? Why is that?