adding readme info for sketch pre-commit

This commit is contained in:
Alex Windett 2017-02-17 15:56:19 +00:00
parent c52e9b7df5
commit d182fc8af5

View File

@ -84,3 +84,19 @@ Code for the reusable UI framework.
### spikes ### spikes
Implementation examples from spikes, this directory is experimental and is likely broken. Implementation examples from spikes, this directory is experimental and is likely broken.
### Sketch Pre Commit
A pre-commit hook has been added to generate a PNG shot of each .sketch file "page".
To use, make sure the following are installed:
- [Sketch Toolbox](http://sketchtoolbox.com/)
- [Sketch Measure Plugin](https://github.com/utom/sketch-measure)
Then add following to your `.git/config`
``[diff "sketchtool"]
textconv = "sketchtool dump"
cachetextconv = true
``