This SDK includes kintone plug-in packaging tool.
- A bash shell
- zip and openssl libraries are required on Windows using Cygwin
- For Mac users only: No dotfiles (such as .DS_Store) in any of the folders inside your plugin. To automatically remove all instances of .DS_Store in your plugin folders, run the following Terminal command in the plugin directory:
find . -name ".DS_Store" -delete
(Note that .DS_Store files are only used by the Finder to hold custom view settings for that particular folder. In most cases nothing will happen if you delete them, or at worst custom Finder view settings (icon size, position, background color, etc) will be lost.)
$ package.sh <plug-in dir> [<key file>]
plugins/<plug-in id>/plugin.zip
keys/<plug-in dir>.<plug-in id>.ppk
Do not lose the private key! Keep the .ppk file secret and in a safe place. You'll need it later if you want to update the plug-in.
$ cd /tmp
$ git clone https://github.com/kintone/plugin-sdk
$ cd plugin-sdk
$ ./package.sh examples/colorcell
Plugin ID: lnamdpliafiofedbofmbgijdjpgebobo
Plugin file: /tmp/plugin-sdk/plugins/lnamdpliafiofedbofmbgijdjpgebobo/plugin.zip
Private key file: /tmp/plugin-sdk/keys/colorcell.lnamdpliafiofedbofmbgijdjpgebobo.ppk
See the following document.
en
https://help.cybozu.com/en/k/admin/plugin.html
ja
https://help.cybozu.com/ja/k/admin/plugin.html
MIT License
Copyright(c) Cybozu, Inc.