From ee7b9dd9581a048cee17e89181cba94254033fb2 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 11 Jul 2011 11:17:15 -0400 Subject: [PATCH] Changed _plugins folder to plugins and updated rake tasks accordingly --- .themes/classic/{_plugins => plugins}/blockquote.rb | 0 .themes/classic/{_plugins => plugins}/category_generator.rb | 0 .themes/classic/{_plugins => plugins}/compass_compiler.rb | 0 .themes/classic/{_plugins => plugins}/custom_filters.rb | 0 .themes/classic/{_plugins => plugins}/gist_tag.rb | 0 .themes/classic/{_plugins => plugins}/haml.rb | 0 .themes/classic/{_plugins => plugins}/include_code.rb | 0 .themes/classic/{_plugins => plugins}/include_file.rb | 0 .themes/classic/{_plugins => plugins}/pullquote.rb | 0 .../classic/{_plugins => plugins}/pygments_cache_patch.rb | 0 .themes/classic/{_plugins => plugins}/sitemap_generator.rb | 0 .themes/classic/{_plugins => plugins}/titlecase.rb | 0 Rakefile | 5 +++-- 13 files changed, 3 insertions(+), 2 deletions(-) rename .themes/classic/{_plugins => plugins}/blockquote.rb (100%) rename .themes/classic/{_plugins => plugins}/category_generator.rb (100%) rename .themes/classic/{_plugins => plugins}/compass_compiler.rb (100%) rename .themes/classic/{_plugins => plugins}/custom_filters.rb (100%) rename .themes/classic/{_plugins => plugins}/gist_tag.rb (100%) rename .themes/classic/{_plugins => plugins}/haml.rb (100%) rename .themes/classic/{_plugins => plugins}/include_code.rb (100%) rename .themes/classic/{_plugins => plugins}/include_file.rb (100%) rename .themes/classic/{_plugins => plugins}/pullquote.rb (100%) rename .themes/classic/{_plugins => plugins}/pygments_cache_patch.rb (100%) rename .themes/classic/{_plugins => plugins}/sitemap_generator.rb (100%) rename .themes/classic/{_plugins => plugins}/titlecase.rb (100%) diff --git a/.themes/classic/_plugins/blockquote.rb b/.themes/classic/plugins/blockquote.rb similarity index 100% rename from .themes/classic/_plugins/blockquote.rb rename to .themes/classic/plugins/blockquote.rb diff --git a/.themes/classic/_plugins/category_generator.rb b/.themes/classic/plugins/category_generator.rb similarity index 100% rename from .themes/classic/_plugins/category_generator.rb rename to .themes/classic/plugins/category_generator.rb diff --git a/.themes/classic/_plugins/compass_compiler.rb b/.themes/classic/plugins/compass_compiler.rb similarity index 100% rename from .themes/classic/_plugins/compass_compiler.rb rename to .themes/classic/plugins/compass_compiler.rb diff --git a/.themes/classic/_plugins/custom_filters.rb b/.themes/classic/plugins/custom_filters.rb similarity index 100% rename from .themes/classic/_plugins/custom_filters.rb rename to .themes/classic/plugins/custom_filters.rb diff --git a/.themes/classic/_plugins/gist_tag.rb b/.themes/classic/plugins/gist_tag.rb similarity index 100% rename from .themes/classic/_plugins/gist_tag.rb rename to .themes/classic/plugins/gist_tag.rb diff --git a/.themes/classic/_plugins/haml.rb b/.themes/classic/plugins/haml.rb similarity index 100% rename from .themes/classic/_plugins/haml.rb rename to .themes/classic/plugins/haml.rb diff --git a/.themes/classic/_plugins/include_code.rb b/.themes/classic/plugins/include_code.rb similarity index 100% rename from .themes/classic/_plugins/include_code.rb rename to .themes/classic/plugins/include_code.rb diff --git a/.themes/classic/_plugins/include_file.rb b/.themes/classic/plugins/include_file.rb similarity index 100% rename from .themes/classic/_plugins/include_file.rb rename to .themes/classic/plugins/include_file.rb diff --git a/.themes/classic/_plugins/pullquote.rb b/.themes/classic/plugins/pullquote.rb similarity index 100% rename from .themes/classic/_plugins/pullquote.rb rename to .themes/classic/plugins/pullquote.rb diff --git a/.themes/classic/_plugins/pygments_cache_patch.rb b/.themes/classic/plugins/pygments_cache_patch.rb similarity index 100% rename from .themes/classic/_plugins/pygments_cache_patch.rb rename to .themes/classic/plugins/pygments_cache_patch.rb diff --git a/.themes/classic/_plugins/sitemap_generator.rb b/.themes/classic/plugins/sitemap_generator.rb similarity index 100% rename from .themes/classic/_plugins/sitemap_generator.rb rename to .themes/classic/plugins/sitemap_generator.rb diff --git a/.themes/classic/_plugins/titlecase.rb b/.themes/classic/plugins/titlecase.rb similarity index 100% rename from .themes/classic/_plugins/titlecase.rb rename to .themes/classic/plugins/titlecase.rb diff --git a/Rakefile b/Rakefile index 0a075b0..054d147 100644 --- a/Rakefile +++ b/Rakefile @@ -25,10 +25,10 @@ desc "Initial setup for Octopress: copies the default theme into the path of Jek task :install, :theme do |t, args| # copy theme into working Jekyll directories theme = args.theme || 'classic' - puts "## Copying "+theme+" theme into ./#{source_dir} ./sass and ./_plugins " + puts "## Copying "+theme+" theme into ./#{source_dir} ./sass and ./plugins " system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/ #{source_dir}/" system "mkdir -p sass; cp -R #{themes_dir}/"+theme+"/sass/ sass/" - system "mkdir -p _plugins; cp -R #{themes_dir}/"+theme+"/_plugins/ _plugins/" + system "mkdir -p plugins; cp -R #{themes_dir}/"+theme+"/plugins/ plugins/" system "mkdir -p #{source_dir}/#{posts_dir}"; end @@ -138,6 +138,7 @@ task :config_deploy, :branch do |t, args| f.write rakefile end end + puts "## Deployment configured. Now you can deploy to the #{args.branch} branch with `rake deploy` ##" end def ok_failed(condition)