From b70685a2bdc0d04a898aa4ee0aa4332ca3fe47d2 Mon Sep 17 00:00:00 2001 From: Sean Grove Date: Mon, 21 Mar 2011 02:40:37 -0700 Subject: [PATCH] Add bushido rake tasks --- lib/tasks/bushido.rake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/tasks/bushido.rake 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 +