[TIMOB-13569] Code Processor: Migrate CLI integration from it's current mechanism into a hook
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-18T20:40:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 08 JS, 2013 Sprint 08, Release 3.1.1, Release 3.2.0 |
Components | Code Processor |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Matt Langston |
Created | 2013-04-15T22:35:36.000+0000 |
Updated | 2017-03-09T00:21:59.000+0000 |
Description
Currently, the code-processor is hard coded into the build system; a by-product of integration occurring before the hook system was fully implemented. It needs to be properly integrated as a hook before source maps are implemented.
Test Instructions
Compare the size of
Make sure that you have installed the git master version of the code processor
Make sure that the hooks directory in the code processor is added to the CLI's hooks path, e.g.
titanium config paths.hooks --append /usr/local/lib/node_modules/titanium-code-processor/hooks/
Modify your tiapp.xml to enable the code processor during build, e.g.
<code-processor>
<enabled>true</enabled>
</code-processor>
Code Processor PR: https://github.com/appcelerator/titanium-code-processor/pull/159 CLI PR: https://github.com/appcelerator/titanium_mobile/pull/4164
Closing ticket as fixed.