public
Description: response for lets you decorate your actions respond_to blocks
Homepage: http://blog.ardes.com/response_for
Clone URL: git://github.com/ianwhite/response_for.git
Click here to lend your support to: response_for and make a donation at www.pledgie.com !
Tweak cruise task
ianwhite (author)
Wed Nov 19 23:57:39 -0800 2008
commit  acff63d9272aec7d1363a2ddd6c82251e696e674
tree    0971f6689f8e7c3db7065255cac63b8a736403a9
parent  977d3d1b2931ce36f77a94847ef32bd8c7760349
...
69
70
71
72
73
 
74
75
 
76
77
78
 
79
80
...
69
70
71
 
 
72
73
 
74
75
76
77
78
79
80
0
@@ -69,11 +69,11 @@ end
0
 
0
 task :cruise do
0
   # run the garlic task, capture the output, if succesful make the docs and copy them to ardes
0
-  mkdir_p ".garlic"
0
-  sh "garlic all > .garlic/report.txt"
0
+  sh "garlic clean && mkdir -p .garlic && (garlic all > .garlic/report.txt)"
0
   `scp -i ~/.ssh/ardes .garlic/report.txt ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}_garlic_report.txt`
0
-  cd ".garlic/edge/vendor/plugins/#{plugin_name}" do
0
+  cd ".garlic/2.2-stable/vendor/plugins/#{plugin_name}" do
0
     `rake doc:all`
0
     `scp -i ~/.ssh/ardes -r doc ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}`
0
   end
0
+  puts "The build is GOOD"
0
 end
0
\ No newline at end of file

Comments