pebble / cloudpebble

CloudPebble source. Here be dragons.
https://cloudpebble.net/
MIT License
211 stars 83 forks source link

Update a project's wscript when pushing to git if necessary. #343

Open Spacerat opened 8 years ago

Spacerat commented 8 years ago

Previous, a wscript was written to git only if it didn't previous exist, and only for native projects. This has become a problem because we have updated the CloudPebble wscript but wscripts in users' git repos will not update with it, so SDK4 projects using the pkjs directory are failing to build outside of CloudPebble.

This change causes CloudPebble to update the wscript if it differs from its internal one. It also enables pushing wscripts to github for package and rocky projects.