- Apps Scriptプロジェクトのデプロイ手続きを、非対話的に行えない
- "Publish > Deploy as API executable..."に相当する処理
- REST APIとしてcreate deployが提供されており、呼び出しも成功するが、authorizationができない
- claspも同様
- 一度authorizeされたデプロイを再デプロイすることは、非対話的に行える
-
clasp redeployに相当 - Apps ScriptプロジェクトのCloud Platformへの切り替え手続きを、非対話的に行えない
- Deployment ManagerでApp Engineのアプリを扱えない
- そもそもApp EngineはCloud Platformのプロジェクトと1:1なので、それがDeployment Managerとしてどう見えるのかが不明
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { script_v1 } from 'googleapis' | |
| import { request } from './request' | |
| # | |
| # - You might want to call Script REST API from within GAS | |
| # - googleapis node client does not work on GAS | |
| # - You still want to re-use type definitions | |
| # | |
| # If you need more entries, check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # You might want to handle "appsscript.json" in TypeScript (e.g. generating it) | |
| # | |
| #quicktype=quicktype | |
| quicktype="pnpm dlx quicktype" | |
| curl -L -o appsscript.schema.json http://json.schemastore.org/appsscript |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { LibConfig, RslibConfig } from '@rslib/core' | |
| // how to use this in rslib.config.ts: | |
| // - `import { gasLib } from './rslib-gas.ts' | |
| // - add a `lib` entry like: `lib: [gasLib('doPut')]` | |
| // - put appsscript.json under public/; it's copied to dist/ as is | |
| // | |
| // how it works: | |
| // - build & bundle .ts into dist/Code.js | |
| // - export global names via `global`; see the first/last lines in Code.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { LibConfig, defineConfig } from '@rslib/core' | |
| export default defineConfig({ | |
| lib: [gasLib(['doGet'])], | |
| source: { | |
| entry: { | |
| index: './src/index.ts', | |
| }, | |
| }, | |
| output: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # rmd2pdf.sh - Convert RMD to PDF reproducibly | |
| # | |
| # Requirements: lualatex (TeXlive) | |
| # | |
| set -e | |
| rmd=$1 |
- Clone Inkscape Git repo
- Install brew
- Update to the latest
- Build Inkscape following the Wiki except:
- Install into
$HOME/.localinstead of../inst
- Install into
- If build fails, install the missing thing by
brew install something- Repeat until build finishes
- Fix
shared-mime-infomkdir -p /usr/local/share/mime/packages
cp /usr/local/Cellar/shared-mime-info/1.8_1/share/shared-mime-info/packages/freedesktop.org.xml /usr/local/share/mime/packages
NewerOlder