Check how wet your CSS is
dry.css | ||
LICENSE | ||
README.md | ||
wet.css | ||
wetness |
wetness
wetness
is a bash
script for checking a CSS file for duplicate properties.
Just like Ellie Kemper, the aim of this script is to help make it DRY.
This script utilizes associative arrays in bash
which requires version 4 or
better. OSX is still shipping with version 3.2 but you can easily upgrade to
4.2 with brew install bash
.
Usage
./wetness /path/to/file.css
Installation
OSX via Homebrew
brew tap joshtronic/homebrew-formulae
brew install wetness