middleman/middleman-core
kematzy 1de1d3d25e Added :sass_cache_path custom config of SASS cache directory
The default output of SASS .sass_cache directory is in the Middleman app root directory, which to my mind adds clutter to the directory.

Secondly, when storing Middleman apps in a Dropbox subfolder, the .sass_cache directory gets synced unnecessarily.

This fix enables moving the .sass_cache directory to any path on the system, such as the "/tmp" directory for automatic discarding of files when restarting the system.

Suggested usage:

    #in config.rb
    set :sass_cache_path, File.join('/tmp', "middleman-#{File.basename(Dir.pwd)}", "sass_cache")

which could return something like:

    `/tmp/middleman-example.com/sass_cache`

This keeps multiple projects separated and easily identifiable.
2012-07-16 14:34:36 +08:00
..
bin Attempt address #466 and avoid Bundler issues with RVM 2012-06-13 20:33:50 -07:00
features Add tests for more implied extensions 2012-07-04 16:45:27 -07:00
fixtures Make automatic helpers smarter. Fixes #510 2012-07-04 11:29:00 -07:00
lib Added :sass_cache_path custom config of SASS cache directory 2012-07-16 14:34:36 +08:00
.gemtest enable gemtest at a per-gem level 2012-01-02 14:48:47 -08:00
middleman-core.gemspec Update some gem requirements, lock Padrino 2012-07-02 16:35:53 -07:00
Rakefile switch to guard/listen 2012-02-25 15:53:23 -08:00