Add bushido rake tasks

This commit is contained in:
Sean Grove 2011-03-21 02:40:37 -07:00
parent 0e6b2f884f
commit b70685a2bd

15
lib/tasks/bushido.rake Normal file
View File

@ -0,0 +1,15 @@
require 'bushido'
require 'jammit'
namespace :bushido do
desc "Prepare an app to run on the Bushido hosting platform, only called during the initial installation. Called just before booting the app."
task :install do
Jammit.package!
end
desc "Prepare an app to run on the Bushido hosting platform, called on every update. Called just before booting the app."
task :update do
Jammit.package!
end
end