Check how wet your CSS is
Find a file
Joshua Sherman 718c7a9f76 Fixed issue with values with spaces
function was treating the value as multiple arguments. Quoted the string and it's working fine.
2014-02-02 17:45:14 -05: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 Reworded readme a bit 2014-02-02 16:56:10 -05: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