Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.603 kB
require "lib/wordpress"
namespace :wordpress do
namespace :options do
desc "Serialize the wp-options table to config/wp-options.yml"
task :dump do
Wordpress::Option.dump
end
desc "Load config/wp-options.yml into to the wp-options table"
task :load do
Wordpress::Option.load
end
end
desc "download the latest wordpress and load it in place"
task :update_core do
`curl -L -0 http://wordpress.org/latest.tar.gz > latest.tar.gz && mv public/blog wordpress && tar xvfz latest.tar.gz wordpress && mv wordpress public/blog && rm latest.tar.gz`
end
end
Jump to Line
Something went wrong with that request. Please try again.