Check how wet your CSS is
Find a file
2014-09-17 12:36:15 -04:00
dry.css Tabs to spaces, small bit of cleanup 2014-09-17 12:36:15 -04:00
LICENSE Tabs to spaces, small bit of cleanup 2014-09-17 12:36:15 -04:00
README.md Tabs to spaces, small bit of cleanup 2014-09-17 12:36:15 -04:00
wet.css Tabs to spaces, small bit of cleanup 2014-09-17 12:36:15 -04:00
wetness Tabs to spaces, small bit of cleanup 2014-09-17 12:36:15 -04: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