Skip to content

Haute couture looks through your CSS and static HTML to ensure that there are no out-of-date styles

License

Notifications You must be signed in to change notification settings

baltimore-sun-data/haute-couture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haute couture GoDoc Go Report Card

Haute couture looks through your CSS and static HTML to ensure that there are no out-of-date styles. It checks that all class and ID names in the specified CSS file exist in some HTML file. Styles that don't match are output to a file for review by the developer.

Installation

First install Go.

If you just want to install the binary to your current directory and don't care about the source code, run

GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/baltimore-sun-data/haute-couture

Usage

$ haute-couture -h
Haute couture looks through your CSS and static HTML to ensure that there are
no out-of-date styles.

Usage: haute-couture [options]

Options:
  -css string
        CSS file to match against
  -exclude value
        regexp for sub-directories to exclude (default "^\.")
  -html-dir string
        directory to search for HTML files (default "public")
  -include value
        regexp for HTML files to process (default "\.html?$")
  -output string
        file to save any found extra CSS identifiers in (default "extra-css.txt")

Endorsements

Well, the name is dynamite.

Gregabit

About

Haute couture looks through your CSS and static HTML to ensure that there are no out-of-date styles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages