Please build this for me, yesterday!
# loads all @assets within $path and reports any not referenced in at-least one of the @sources
./sourcery --path=/var/www --asset=*.css --asset=*.js --asset=*.png --source=*.html
Often times I'll find myself mucking around with an old webapp codebase that has had assets (css, js, images, etc) added to it over and over throughout its life, and being the neat-freak that I am I like to keep my codebase clean.
This (potentially) is a program that finds all files that match the specified asset and source patterns, puts them in their respective buckets, and then report the assets that are no longer being referenced anywhere.
# your contribution here please, thanks.