[ALOY-759] Support the ability to have compiler conditionals defined as JS constants
|Affected Version/s||Alloy 1.1.3|
|Fix Version/s||2013 Sprint 15|
DescriptionAlloy has a list of platform compiler conditionals that get compiled out of Alloy code depending on the target platform, specified like this:
In certain situations (like LiveView/TiShadow multiple platform deploys) developers would prefer to leave those values as simply JS constants instead of compiler directives so the same code can be used on multiple platforms. We should investigate being able to run it without the platform config and still have it run successfully.alloy compile --config platform=ios
- Tony Lukasavage 2013-07-24 After investigation, too much of Alloy's compile time process relies on a build platform being present. This is not a feasible option.