Browse Source

Changed _plugins folder to plugins and updated rake tasks accordingly

unreleased_contents
Brandon Mathis 13 years ago
parent
commit
ee7b9dd958
  1. 0
      .themes/classic/plugins/blockquote.rb
  2. 0
      .themes/classic/plugins/category_generator.rb
  3. 0
      .themes/classic/plugins/compass_compiler.rb
  4. 0
      .themes/classic/plugins/custom_filters.rb
  5. 0
      .themes/classic/plugins/gist_tag.rb
  6. 0
      .themes/classic/plugins/haml.rb
  7. 0
      .themes/classic/plugins/include_code.rb
  8. 0
      .themes/classic/plugins/include_file.rb
  9. 0
      .themes/classic/plugins/pullquote.rb
  10. 0
      .themes/classic/plugins/pygments_cache_patch.rb
  11. 0
      .themes/classic/plugins/sitemap_generator.rb
  12. 0
      .themes/classic/plugins/titlecase.rb
  13. 5
      Rakefile

0
.themes/classic/_plugins/blockquote.rb → .themes/classic/plugins/blockquote.rb

0
.themes/classic/_plugins/category_generator.rb → .themes/classic/plugins/category_generator.rb

0
.themes/classic/_plugins/compass_compiler.rb → .themes/classic/plugins/compass_compiler.rb

0
.themes/classic/_plugins/custom_filters.rb → .themes/classic/plugins/custom_filters.rb

0
.themes/classic/_plugins/gist_tag.rb → .themes/classic/plugins/gist_tag.rb

0
.themes/classic/_plugins/haml.rb → .themes/classic/plugins/haml.rb

0
.themes/classic/_plugins/include_code.rb → .themes/classic/plugins/include_code.rb

0
.themes/classic/_plugins/include_file.rb → .themes/classic/plugins/include_file.rb

0
.themes/classic/_plugins/pullquote.rb → .themes/classic/plugins/pullquote.rb

0
.themes/classic/_plugins/pygments_cache_patch.rb → .themes/classic/plugins/pygments_cache_patch.rb

0
.themes/classic/_plugins/sitemap_generator.rb → .themes/classic/plugins/sitemap_generator.rb

0
.themes/classic/_plugins/titlecase.rb → .themes/classic/plugins/titlecase.rb

5
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| task :install, :theme do |t, args|
# copy theme into working Jekyll directories # copy theme into working Jekyll directories
theme = args.theme || 'classic' 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 #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/ #{source_dir}/"
system "mkdir -p sass; cp -R #{themes_dir}/"+theme+"/sass/ sass/" 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}"; system "mkdir -p #{source_dir}/#{posts_dir}";
end end
@ -138,6 +138,7 @@ task :config_deploy, :branch do |t, args|
f.write rakefile f.write rakefile
end end
end end
puts "## Deployment configured. Now you can deploy to the #{args.branch} branch with `rake deploy` ##"
end end
def ok_failed(condition) def ok_failed(condition)

Loading…
Cancel
Save