public
Description: tiny webapp I can use to get around stupid Panera blocking tinyurl.com
Homepage:
Clone URL: git://github.com/gdagley/panera.git
panera / Rakefile
100644 15 lines (11 sloc) 0.294 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'config.rb'
 
desc 'Deploy to the server using rsync'
task :restart do
  sh "touch tmp/restart.txt"
end
 
desc 'Deploy to the server using rsync'
task :deploy => :restart do
  deploy = configatron.deploy
  cmd = "rsync -ruv * #{deploy.user}@#{deploy.domain}:#{deploy.path}"
  sh cmd
end