Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.507 kB
SETTINGS = {
'rsync_server' => ENV['rsync_server'] || 'timeago@yarp.com:/var/www/timeago/',
'rsync_options' => ENV['rsync_options'] || '-e ssh -avz --delete --exclude=.git'
}
task :default => :test
desc 'Publish to server (edit Rakefile to config)'
task :publish do
cmd = "rsync #{SETTINGS['rsync_options']} ./ #{SETTINGS['rsync_server']}"
puts "\nSyncing with server: #{cmd}\n\n"
system(cmd)
end
desc 'Open your default browser with the test page'
task :test do
system("open test.html")
end
Jump to Line
Something went wrong with that request. Please try again.