mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
adding readme info for sketch pre-commit
This commit is contained in:
parent
c52e9b7df5
commit
d182fc8af5
16
README.md
16
README.md
@ -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
|
||||||
|
``
|
||||||
|
Loading…
Reference in New Issue
Block a user