katiefenn / parker

Stylesheet analysis tool.
Other
2.47k stars 72 forks source link

Something fun to try #14

Closed glenjamin closed 8 years ago

glenjamin commented 10 years ago

If you run this in a git repo with a path to a file, it'll run parker on every version of the file from old to new.

export css=path/to/your.css
git log --reverse --oneline $css | cut -d ' ' -f 1 | xargs -n 1 -I {} sh -c 'git log -n 1 {} && git show {}:$css | parker && echo -----------------------------'