[ 
https://issues.apache.org/jira/browse/CB-4321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847660#comment-13847660
 ] 

Robert (Jamie) Munro edited comment on CB-4321 at 12/13/13 5:08 PM:
--------------------------------------------------------------------

So if "we are not there yet", what *am* I supposed to put in version control? 
The whole platforms directory?

Would you suggest using something like the gruntfile suggested here:
http://stackoverflow.com/a/19146656/3408

Will that still work with the future versions of Cordova?

You've called this minor, but for me it makes Cordova CLI workflow completely 
impossible to use.

We have multiple developers. I have to give other developers instructions like:

    git checkout [project]
    cordova prepare

And they have to get the same app I have got.

One huge stumbling block I have just discovered is that the core splashscreen 
plugin (which is effectively compulsory on iOS) requires you to make a manual 
change inside the platforms folder. I guess I could write a patch file and 
apply it with a hook or something, but it's something everyone needs so it 
should be managed centrally.


was (Author: rjmunro):
So if "we are not there yet", what *am* I supposed to put in version control? 
The whole platforms directory?

Would you suggest using something like the gruntfile suggested here:
http://stackoverflow.com/a/19146656/3408

Will that still work with the future versions of Cordova?

You've called this minor, but for me it makes Cordova CLI workflow completely 
impossible to use.

One huge stumbling block I have just discovered is that the core splashscreen 
plugin (which is effectively compulsory on iOS, although not on Android) 
requires you to make a manual change inside the platforms folder. I guess I 
could write a patch file and apply it with a hook or something, but it's 
something everyone needs so it should be managed centrally.

> Supply a sample .gitignore file for projects
> --------------------------------------------
>
>                 Key: CB-4321
>                 URL: https://issues.apache.org/jira/browse/CB-4321
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: Robert (Jamie) Munro
>            Assignee: Braden Shepherdson
>            Priority: Minor
>
> When I create a project with cordova-cli, it's not very clear what I should 
> be putting into version control, and what I should be relying on cordova-cli 
> to recreate for me. It's obvious that www and merges should be version 
> controlled, but what about platform and plugins? Where do I put 
> project-specific native code?
> An example .gitignore file could be provided, so that if I enable it, 
> everything I don't need to commit will be ignored.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to