public
Description: Bootstrap a Rails 2.3 app with user authentication (Authlogic, Clearance, restful_authentication)
Homepage:
Clone URL: git://github.com/pixels-and-bits/strappy.git
Fri Oct 30 15:03:24 -0700 2009
commit  4e91968f749d43eca5455824274cb6eac864498e
tree    1e11845b5b8dfdf8548aa6b837dde1515fcc2cdc
parent  686d2a419e076a9c9a0c4e4d6ff621e71c9b97c4
strappy / Rakefile
100644 9 lines (7 sloc) 0.245 kb
1
2
3
4
5
6
7
8
9
@dir = File.dirname(__FILE__)
 
task :default do
  system 'rm -rf ./generated_app'
  system "export SOURCE=#{@dir}; rails -m #{@dir}/base.rb generated_app"
  clean = system "cd generated_app && rake db:migrate && rake"
  exit $? unless clean
end