From d182fc8af5e9ad93837702a987deb399595ec7f2 Mon Sep 17 00:00:00 2001 From: Alex Windett Date: Fri, 17 Feb 2017 15:56:19 +0000 Subject: [PATCH] adding readme info for sketch pre-commit --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 1b6b0051..fa16759d 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,19 @@ Code for the reusable UI framework. ### spikes 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 +``