Project

squatch

0.0
No commit activity in last 3 years
No release in over 3 years
It's going to relate to sass, and I think I know what I want it to do...
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Squatch¶ ↑

Squatch will take your sass/css files (or any file really) and ‘squatch’ them; meaning it will remove all extra linebreaks, and clean up whitespace, essentially making each css declaration a single line rather than multiple lines.

Features¶ ↑

  • Super pretty, super readable stylesheets

  • Support for single or multiple file squatching

  • Creates a backup of original file, incase you want to unsquatch your file

  • Command Line Input (CLI)

  • Rake tasks (coming soon)

  • Thor tasks (coming soon)

Install¶ ↑

Rails (coming soon)¶ ↑

Add this line to your Gemfile:

gem 'squatch'

Then do a bundle install:

bundle install


Non Rails¶ ↑

gem install squatch

Usage¶ ↑

Usage: squatch -command [FILE/DIR]

-h, --help 					Display this help
-v, --version 				Display current gem version
-f, --file FILE 			Squatch FILE in place
-F, --files DIR 			Squatch files from DIR in place

TODO¶ ↑

  • Tests

  • One final pass of cleanup and refactoring

  • Cleanup the look of squatched files

Copyright © 2011 Steve Domino. See LICENSE.txt for further details