Add Google spreadsheet AppScript code and bundling logic #187
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the Google AppScript code used to synchronize meetings data in a GitHub repository with a Google spreadsheet.
The AppScript runtime does not (yet?) support JavaScript modules, so the code needs to be bundled (done with Rollup) before it may be deployed with Google's
clasp
CLI.For deployment to work, user must have logged in into clasp with:
Give the application enough permissions to create/update/delete script projects.
The user must also create a
.clasp.json
file at the root of the project that contains two entries:scriptId
: the ID of the standalone Google AppScript that should contain the resulting code. You must have permissions to update that script.rootDir
: full path to thetools/appscript/bundle.js
file (that file will be generated from the source code intools/appscript
).Once everything is setup, run the following command to update the script in the Google Drive: