https://github.com/thinca/gas-docker-vim-updater
Automatically updater for https://hub.docker.com/r/thinca/vim/
https://github.com/thinca/gas-docker-vim-updater
Last synced: 11 months ago
JSON representation
Automatically updater for https://hub.docker.com/r/thinca/vim/
- Host: GitHub
- URL: https://github.com/thinca/gas-docker-vim-updater
- Owner: thinca
- License: zlib
- Created: 2018-07-08T16:17:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T07:15:19.000Z (almost 5 years ago)
- Last Synced: 2025-05-21T02:46:27.416Z (about 1 year ago)
- Language: TypeScript
- Size: 373 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Docker Vim Updater
==================
Follow the feeds of [Vim's commits](https://github.com/vim/vim) and build a new Docker image when a new commit is arrive.
Setup
-----
1. Setup Repository
```
npm install
```
2. Setup `clasp`
See [official document](https://developers.google.com/apps-script/guides/clasp) for details.
```
$ npx clasp login
```
3. Setup GAS Project
1. Create a new project
```
$ npx clasp create ...
```
2. Or, clone an existing project
```
$ npx clasp clone ...
```
Usage
-----
Generate the `Code.js` file that to upload to GAS.
```
$ npx webpack
Hash: 3a00f0d51e17ffea6b80
Version: webpack 4.10.0
Time: 2732ms
Built at: 2018-06-28 20:32:49
Asset Size Chunks Chunk Names
Code.js 17.7 KiB main [emitted] main
Entrypoint main = Code.js
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {main} [built]
[./src/github.ts] 2.87 KiB {main} [built]
[./src/index.ts] 2.41 KiB {main} [built]
+ 3 hidden modules
```
Upload `Code.js` to GAS.
```
$ npx clasp push
```