I am creating a phonegap app which will be supported by
Android
Windows phone
iOS
BlackBerry
So far, main development happen on Android and all JS/HTML are copied to other platforms. Moving on, we have to keep different repositories for all the platforms for easier maintenance.
The obvious way I can think of is to create a folder for each platform and maintain the code there. But in that case, if we are modifying any www (JS/HTML/CSS/Images) contents, we will need to manually copy to all the repos.
Is there a better way to handle common files, or copying same file to 4 locations is the only way out?