SketchBundle makes sure Sketch 3 run the same plugins on every machine.
- Download the plugin.
- Unzip the archive.
- Place the folder into your Sketch Plugins folder by navigating to Sketch > Plugins > Reveal Plugins Folder.
- Open this plugin folder.
- Create
Sketchbundle.json
file based onSketchbundle.json.example
file. - Edit
Sketchbundle.json
. (See [Sketchbundle.json format](#Sketchbundle.json format))
- Run
Install
command.
That's it 😏
- Run
Update
command.
That's it
{
"{repository}" : {
"{option key}": "{option value}"
}
}
{repository} is the repository URI.
Key | Value | Required | Example |
---|---|---|---|
name | Specify plugin name. | No | "name": "PluginName" |
type | Specify repository type. | No | "type": "svn" |
site | Repository site. | No | "site": "github" |
rev | Repository revision. | No | "rev": "develop" |
stay_same | true or false | No | "stay_same": true |
Specify the name of the bundle. This is used for sketchbundle management. If omitted, the tail of the repository name will be used.
{
"corrupt952/SketchBundle": {
"name": "PluginName"
}
}
Specify the repositroy type. If omitted, a guess is made based on repo option.
raw
... Raw filegit
... Githg
... Mercurialsvn
... Subversion
{
"http://svn.example.com/repository": {
"type": "svn"
}
}
Note: When you use hg
, configure hostfingerprints.
Specify the repository site. If you omit both the repository URL and the site
option, 'git' will be used.
{
"corrupt952/SketchBundle": {
"site": "bb"
}
}
Specify a revision number or branch/tag name. git
, hg
and svn
will be used.
{
"corrupt952/SketchBundle": {
"rev": "develop"
}
}
If set to true, sketchbundle doesn't update it automatically when you run Update
comamnd.
{
"corrupt952/SketchBundle": {
"rev": "3ae72e67874ef1f914da6ac628f7458d07c186aa",
"stay_same": true
}
}
The MIT License (MIT)
Copyright (c) 2014 Kazuki Hasegawa
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.