| ... | ... |
@@ -156,9 +156,9 @@ task :integrate do |
| 156 | 156 |
FileUtils.mv Dir.glob("#{source_dir}/#{stash_dir}/*.*"), "#{source_dir}/#{posts_dir}/"
|
| 157 | 157 |
end |
| 158 | 158 |
|
| 159 |
-desc "Clean out caches: _code_cache, _gist_cache, .sass-cache" |
|
| 159 |
+desc "Clean out caches: .pygments-cache, .gist-cache, .sass-cache" |
|
| 160 | 160 |
task :clean do |
| 161 |
- rm_rf ["_code_cache/**", "_gist_cache/**", ".sass-cache/**", "source/stylesheets/screen.css"] |
|
| 161 |
+ rm_rf [".pygments-cache/**", ".gist-cache/**", ".sass-cache/**", "source/stylesheets/screen.css"] |
|
| 162 | 162 |
end |
| 163 | 163 |
|
| 164 | 164 |
desc "Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom" |
| ... | ... |
@@ -16,7 +16,7 @@ module Jekyll |
| 16 | 16 |
super |
| 17 | 17 |
@text = text |
| 18 | 18 |
@cache_disabled = false |
| 19 |
- @cache_folder = File.expand_path "../_gist_cache", File.dirname(__FILE__) |
|
| 19 |
+ @cache_folder = File.expand_path "../.gist-cache", File.dirname(__FILE__) |
|
| 20 | 20 |
FileUtils.mkdir_p @cache_folder |
| 21 | 21 |
end |
| 22 | 22 |
|
| ... | ... |
@@ -2,7 +2,7 @@ require 'pygments' |
| 2 | 2 |
require 'fileutils' |
| 3 | 3 |
require 'digest/md5' |
| 4 | 4 |
|
| 5 |
-PYGMENTS_CACHE_DIR = File.expand_path('../../_code_cache', __FILE__)
|
|
| 5 |
+PYGMENTS_CACHE_DIR = File.expand_path('../../.pygments-cache', __FILE__)
|
|
| 6 | 6 |
FileUtils.mkdir_p(PYGMENTS_CACHE_DIR) |
| 7 | 7 |
|
| 8 | 8 |
module HighlightCode |