cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime LUCE <>
Subject Optimize plugman action-stack module for future platforms
Date Thu, 17 Oct 2013 06:32:30 GMT
I just created an issue on JIRA associated with its pull request.

This patch optimize plugman for future platform integration by removing all static project
detection from action-stack module.

Avoid static platform detection in action-stack module :

1. Create a parseProjectFile function on every platform module which need it.
2. Ensure this function return an object containing a write function which save project file(s)
2. Remove switch case and detect if parseProjectFile exists
3. Remove static indexOf in loop by testing project_files variable

Only iOS has a different function name so :
1. replace this functiom name in all references.
2. add a write function to result which save both pbx and xcode files

Can be really usefull for future platform integration. Just has to add a parseProjectFile
if needed !

I think it's much more long term independent.

A pull request is available on Github at :

Please someone could review it for merging.


[Touch it]

Maxime LUCE


06 28 60 72 34

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message