<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,3 +2,4 @@
 doc/*
 garlic
 garlic.rb
+garlic_report.txt</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -6,11 +6,31 @@ require 'spec/rake/spectask'
 require 'spec/rake/verify_rcov'
 require 'rake/rdoctask'
 
-plugin_name = File.basename(File.dirname(__FILE__))
+plugin_name = 'respond_to'
 
 task :default =&gt; :spec
 
-task :cruise =&gt; &quot;garlic:all&quot;
+task :cruise do
+  # run the garlic task, capture the output, if succesful make the docs and copy them to ardes
+  begin
+    sh &quot;rake garlic:all &gt; garlic_report.txt&quot;
+    
+    # send abridged rpeort
+    report = File.read('garlic_report.txt').sub(/^.*?==========/m, '==========')
+    report = &quot;garlic report for #{plugin_name}\n#{`git log -n 1 --pretty=oneline --no-color`}\n&quot; + report
+    File.open('garlic_report.txt', 'w+') {|f| f &lt;&lt; report }
+    sh &quot;scp -i ~/.ssh/ardes garlic_report.txt ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}_garlic_report.txt&quot;
+
+    # build doc and send that
+    cd &quot;garlic/work/edge/vendor/plugins/#{plugin_name}&quot; do
+      sh &quot;rake doc:all&quot;
+      sh &quot;scp -i ~/.ssh/ardes -r doc ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/inherit_views&quot;
+    end
+    
+  ensure
+    puts File.read('garlic_report.txt')
+  end
+end
 
 desc &quot;Run the specs for #{plugin_name}&quot;
 Spec::Rake::SpecTask.new(:spec) do |t|</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>db80cbb03d000b44e9275e24c6d5d1663e417c25</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/response_for/commit/bea7a88e29a2ca16edf88b60038615157d78e564</url>
  <id>bea7a88e29a2ca16edf88b60038615157d78e564</id>
  <committed-date>2008-09-22T22:06:02-07:00</committed-date>
  <authored-date>2008-09-22T22:06:02-07:00</authored-date>
  <message>Making cruise task push docs to plugins.ardes.com on success</message>
  <tree>13805c69324353061f630ffe3f1050525b24f2ec</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
