<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,28 +10,6 @@ plugin_name = 'resources_controller'
 
 task :default =&gt; :spec
 
-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/#{plugin_name}&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|
   t.spec_files = FileList['spec/**/*_spec.rb']
@@ -101,4 +79,28 @@ task :get_garlic do
 end
 
 # load up the tasks for testing rspec generators against RC
-require File.join(File.dirname(__FILE__), 'spec/generate_rake_task')
\ No newline at end of file
+require File.join(File.dirname(__FILE__), 'spec/generate_rake_task')
+
+task :cruise do
+  # run the garlic task, capture the output, if succesful make the docs and copy them to ardes
+  begin
+    `cp garlic_example.rb garlic.rb`
+    `rake get_garlic`
+    `cd garlic; git pull`
+    `rake garlic:clean`
+    sh &quot;rake garlic:all&quot;
+    sh &quot;rake garlic:run_targets &gt; garlic_report.txt&quot;
+    
+    # send abridged report
+    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/#{plugin_name}&quot;
+    end
+  end
+end
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9e0340e700d6b81eea6850b77c62e40a71da331e</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/resources_controller/commit/649d468d4275c1e5ff5b3e14644a1c47803caea4</url>
  <id>649d468d4275c1e5ff5b3e14644a1c47803caea4</id>
  <committed-date>2008-10-24T05:41:34-07:00</committed-date>
  <authored-date>2008-10-24T05:41:34-07:00</authored-date>
  <message>Send full garlic report to doc server</message>
  <tree>533d49522d520c257d34778700f002fac4375441</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
