[ALOY-758] Create pre-compiled versions of Alloy core runtime libraries per-platform
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Runtime, Tooling |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2013-07-24T14:54:10.000+0000 |
Updated | 2018-03-07T22:25:36.000+0000 |
Description
Alloy recompiles its core runtime libraries on each build to account for the fact that they may contain compiler conditionals. We could speed up the compile process by having pre-compiled (perhaps even concatenated and optimized into a single file) for each platform supported. This would work assuming that the platforms compiler conditionals (OS_IOS, OS_ANDROID, etc...) were the only compiler conditionals used.
To optimize the files and enforce the minimal restrictions mentioned above, we should investigate the appropriate tooling to generate these files. We can possibly make use of [grunt.js](http://gruntjs.com/) and its pre-built uglify and concat tasks to generate the pre-compiled files.
No comments