Check how wet your CSS is
Find a file
Josh Sherman ef9c2860b1 Update README.md
Updated tap name as it has since changed
2014-05-20 12:44:27 -04:00
dry.css Initial commit. 2014-02-02 16:41:52 -05:00
LICENSE Initial commit 2014-02-02 09:36:43 -08:00
README.md Update README.md 2014-05-20 12:44:27 -04:00
wet.css Initial commit. 2014-02-02 16:41:52 -05:00
wetness Fixed issue with values with spaces 2014-02-02 17:45:14 -05:00

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