Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide guidance on what to keep in version control #85

Closed
brettcannon opened this issue Feb 6, 2014 · 5 comments
Closed

Provide guidance on what to keep in version control #85

brettcannon opened this issue Feb 6, 2014 · 5 comments

Comments

@brettcannon
Copy link

Do I check in everything? Only some stuff from platform is needed? Everything but binary files (which live where?)?

It seems a bunch of files are either copied from www/ or are provided by cca, which would suggest they don't need to be checked in. Then again does cca update itself in-place every time you run prepare and so if you don't check in all files then no one can reproduce?

@mmocny
Copy link
Member

mmocny commented Feb 7, 2014

If you don't make any edits to native platforms, it suffices to check in www. And cca create --link-to=... as often as you like. The exact artefacts created during create and prepare steps change as the project evolves, and so not adding platform files to version control actually helps with upgrading to the latest goods.

However, if you do make edits to platform, including preparing to release to app store, you may not want to have to repeat yourself.

Either way, we have on our objectives already to provide guidance on this (and improve caveats over time) so it's like you read our mind here!

@brettcannon
Copy link
Author

That's basically what shepheb told me. At the moment I don't have anything special beyond a plug-in I need to install to make up for the lack of clipboardWrite support. Eventually, though, I may have splash screens for iOS which would be platform-specific. I guess that can be part of a symlinking/copying files step post cca create to go with the plugin installation that is done through one of my ninja build files.

@mmocny
Copy link
Member

mmocny commented Mar 7, 2014

Relevant: #105

@mmocny
Copy link
Member

mmocny commented Mar 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants