Skip to content

Checks your rails projects Sass files for #ids and .classes and checks if you are using them in the rest of your rails project. [Depends on ack] (Used at Wakoopa to clean up all the legacy Sass)

License

Juice10/bogus-sass-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bogus Sass Checker
==================

This is a little ruby script that checks your rails project's Sass files for #ids and .classes and checks if you are using them in the rest of your rails project.
ack needs to be installed first ( http://betterthangrep.com/ )

Installation
============
Install ack (instructions: http://betterthangrep.com/ )
Run the following if you haven't already:
  gem sources -a http://gems.github.com
Install the gem:
  sudo gem install Juice10-bogus_sass_checker

Example
=======
Navigate to your rails project root and run:
  checksass

The output you receive are CSS classes and ids that probably aren't used in your rails project.

Contributing
============

Git source repository: http://github.com/Juice10/bogus-sass-checker/tree/master
Please feel free to fork the project at GitHub and submit pull requests or patches.

Developed and used at Wakoopa (wakoopa.com)
Copyright (c) 2007-2009 Justin Halsall, released under the MIT license

About

Checks your rails projects Sass files for #ids and .classes and checks if you are using them in the rest of your rails project. [Depends on ack] (Used at Wakoopa to clean up all the legacy Sass)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages