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.
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.