Titanium JIRA Archive
Alloy (ALOY)

[ALOY-926] Allow --platform to specify multiple platforms or even "all"

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sAlloy 2.0.0
ComponentsTooling
Labelsalloy, compile, liveview, platforms
ReporterFokke Zandbergen
AssigneeBruce Wayne
Created2014-01-16T07:50:05.000+0000
Updated2015-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?

Comments

  1. Fokke Zandbergen 2014-01-16

    BTW, I see that animation.js is both in Resources/alloy/animation.js and Resource/alloy/[platform]/alloy/animation.js and app.js is also both in the root as well as in the platform folders? Why is that?

JSON Source