diff --git a/lib/tasks/bushido.rake b/lib/tasks/bushido.rake new file mode 100644 index 00000000..159d3c10 --- /dev/null +++ b/lib/tasks/bushido.rake @@ -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 +