3 ms·
Use clasp to manage your apps script project and push to Google apps script from a local git repo which you can also push to GitHub. https://codelabs.developer
by wffurr 8y ago
Use clasp to manage your apps script project and push to Google apps script from a local git repo which you can also push to GitHub.
https://codelabs.developers.google.com/codelabs/clasp/#0 https://codelabs.developers.google.com/codelabs/clasp/#0
- MikaelMayer 8y agoThanks for the tool. Unfortunately, this makes run-test lifecycle painful -- I just want to launch a procedure and view the result in a Google docs, not git commit -am message and then git push and then refresh and then launch a procedure -- so I'm likely not going to use it
- wffurr 8y agoI was using an older version of this and was able to push directly to Google Apps Script / Docs from the repo with uncommitted changes for testing, and then only commit and push to git when I was happy with it. I wrote stubs for the relevant apps script APIs and was able to run tests locally as well: https://github.com/wffurr/safe-contract-validator/blob/master/mock_apps_script.js https://github.com/wffurr/safe-contract-validator/blob/maste...
- MikaelMayer 8y agoThanks, I finally managed to make Clasp work. Here is the source code of the latest nightly version: https://github.com/MikaelMayer/Sketch-n-Script https://github.com/MikaelMayer/Sketch-n-Script