You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Robert (Jamie) Munro (JIRA)" <ji...@apache.org> on 2013/12/13 18:07:09 UTC

[jira] [Commented] (CB-4321) Supply a sample .gitignore file for projects

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

Robert (Jamie) Munro commented on CB-4321:
------------------------------------------

So if we are not there yet, what am I supposed to put in version control? The whole platforms directory (that would be crazy as there are a lot of build artifacts in there).

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)