Add bushido rake tasks
This commit is contained in:
parent
0e6b2f884f
commit
b70685a2bd
15
lib/tasks/bushido.rake
Normal file
15
lib/tasks/bushido.rake
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user