public
Description: JSON Web App Framework
Homepage: http://halcyon.rubyforge.org/
Clone URL: git://github.com/mtodd/halcyon.git
Click here to lend your support to: halcyon and make a donation at www.pledgie.com !
halcyon / Rakefile
100644 24 lines (15 sloc) 0.442 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id$
 
gem 'haml', '=1.8.2'
require 'haml'
 
load 'tasks/setup.rb'
 
task :default => :build
 
desc 'deploy the site to the webserver'
task :deploy => [:build, 'deploy:rsync']
 
# EOF
 
namespace(:site) do
  
  desc 'Update the website'
  task :update => [:build] do
    `rsync -avz ./output/ mtodd@halcyon.rubyforge.org:/var/www/gforge-projects/halcyon/ > /dev/null`
    puts "* uploaded ./output/ to http://halcyon.rubyforge.org/"
  end
  
end