Hacker News new | ask | show | jobs
by joshstrange 3000 days ago
Can you point me in the direction of any documentation you might have on how a project should be handled with regards to source control? Currently my team doesn't commit the generated platforms/plugins folders but it appears that with Capacitor we might need to start committing some/all of these since it isn't expect to re-generate them from a config.xml like it was with cordova.
1 comments

You commit it all (except what .gitignore already ignores or your IDE adds), the native projects are are not build but source artifacts here. Benefit: Once the project is created, you can modify and adapt it in any way you want and have those changes versioned like all other code changes.
That is awesome news! Rebuilding the native projects on a CI server was always a huge PITA with gross hacks to make certain things work.