diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-18 13:45:25 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-18 13:45:25 +0200 |
commit | f6bf89438702776896aee21cf839689355bbe203 (patch) | |
tree | ff54fc14d27e8f1fff08a9d4ff23b799b61a525d | |
parent | 41cbe7825149d1cbf97890ff1e59aac190a502ba (diff) | |
download | my_new_personal_website-f6bf89438702776896aee21cf839689355bbe203.tar.xz my_new_personal_website-f6bf89438702776896aee21cf839689355bbe203.zip |
Aligns naming of .pygments-cache, .gist-cache and .sass-cache
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Rakefile | 4 | ||||
-rw-r--r-- | plugins/gist_tag.rb | 2 | ||||
-rw-r--r-- | plugins/pygments_code.rb | 2 |
4 files changed, 6 insertions, 6 deletions
@@ -1,8 +1,8 @@ .bundle .DS_Store .sass-cache -_gist_cache -_code_cache +.gist-cache +.pygments-cache _deploy public sass.old @@ -156,9 +156,9 @@ task :integrate do FileUtils.mv Dir.glob("#{source_dir}/#{stash_dir}/*.*"), "#{source_dir}/#{posts_dir}/" end -desc "Clean out caches: _code_cache, _gist_cache, .sass-cache" +desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache" task :clean do - rm_rf ["_code_cache/**", "_gist_cache/**", ".sass-cache/**", "source/stylesheets/screen.css"] + rm_rf [".pygments-cache/**", ".gist-cache/**", ".sass-cache/**", "source/stylesheets/screen.css"] end desc "Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom" diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index 946ea23f..ac5ee3c6 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -16,7 +16,7 @@ module Jekyll super @text = text @cache_disabled = false - @cache_folder = File.expand_path "../_gist_cache", File.dirname(__FILE__) + @cache_folder = File.expand_path "../.gist-cache", File.dirname(__FILE__) FileUtils.mkdir_p @cache_folder end diff --git a/plugins/pygments_code.rb b/plugins/pygments_code.rb index 67ce8c34..b87413f5 100644 --- a/plugins/pygments_code.rb +++ b/plugins/pygments_code.rb @@ -2,7 +2,7 @@ require 'pygments' require 'fileutils' require 'digest/md5' -PYGMENTS_CACHE_DIR = File.expand_path('../../_code_cache', __FILE__) +PYGMENTS_CACHE_DIR = File.expand_path('../../.pygments-cache', __FILE__) FileUtils.mkdir_p(PYGMENTS_CACHE_DIR) module HighlightCode |