Using sketchtool to diff your .sketch files using text
Requirements
You need to have SketchTool installed somewhere in your path.
Setup
Add this in your ~/.gitconfig
file (for some reason, it won't work in a local .gitconfig file):
(defmacro dbg [body] | |
`(let [x# ~body] | |
(println "dbg:" '~body "=" x#) | |
x#)) |
You need to have SketchTool installed somewhere in your path.
Add this in your ~/.gitconfig
file (for some reason, it won't work in a local .gitconfig file):
{:paths ["."] | |
:deps {clansi {:mvn/version "1.0.0"}}} |
;; "human" date/time format parsing | |
(def human-time-parser | |
(insta/parser | |
"S = H (':' M)? ' '? P? (' ' Z)? | |
H = #'[1-9]' | #'1[0-2]' | |
M = #'0[0-9]' | #'[1-5][0-9]' | |
P = AM | PM | |
AM = 'A' 'M'? | |
PM = 'P' 'M'? |
~/.lein/profiles.clj
: {:user {:plugins []}}
In a terminal, run these commands: