[
https://issues.apache.org/jira/browse/CB-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxime LUCE resolved CB-5111.
-----------------------------
Resolution: Fixed
Merged on master branch
https://github.com/apache/cordova-plugman/commit/ab8571835903b0170b9f5506d9b9b19bc213f4ed#diff-6433a1a19c7364347102f741d8b9cffd
> Optimize plugman action-stack module for future platforms
> ---------------------------------------------------------
>
> Key: CB-5111
> URL: https://issues.apache.org/jira/browse/CB-5111
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugman
> Reporter: Maxime LUCE
> Assignee: Maxime LUCE
>
> 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 !
--
This message was sent by Atlassian JIRA
(v6.1#6144)