Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.507 kB
93577fd @rmm5t first version
authored
1 SETTINGS = {
2 'rsync_server' => ENV['rsync_server'] || 'timeago@yarp.com:/var/www/timeago/',
3 'rsync_options' => ENV['rsync_options'] || '-e ssh -avz --delete --exclude=.git'
4 }
5
ae48586 @rmm5t Added a lame 'rake test' task
authored
6 task :default => :test
7
8 desc 'Publish to server (edit Rakefile to config)'
93577fd @rmm5t first version
authored
9 task :publish do
10 cmd = "rsync #{SETTINGS['rsync_options']} ./ #{SETTINGS['rsync_server']}"
11 puts "\nSyncing with server: #{cmd}\n\n"
12 system(cmd)
13 end
ae48586 @rmm5t Added a lame 'rake test' task
authored
14
15 desc 'Open your default browser with the test page'
16 task :test do
17 system("open test.html")
18 end
Something went wrong with that request. Please try again.