Changed _plugins folder to plugins and updated rake tasks accordingly
This commit is contained in:
parent
d4139e394e
commit
ee7b9dd958
5
Rakefile
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…
Reference in New Issue
Block a user