Skip to content

Commit

Permalink
Added a rake install task, which performs both migrate and update.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Oct 18, 2008
1 parent e40f461 commit 5d35a27
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/tasks/movies_extension_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ namespace :radiant do
mkdir_p RAILS_ROOT + directory
cp file, RAILS_ROOT + path
end
end
end

desc "Migrates and copies files in public/admin"
task :install => [:environment, :update, :migrate] do
puts "Movies extension has been installed."
end

end
end
end

0 comments on commit 5d35a27

Please sign in to comment.