Skip to content

Commit

Permalink
Fixed doc part of cruise task
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Nov 25, 2008
1 parent 6e5f94e commit c6de614
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Expand Up @@ -67,12 +67,11 @@ namespace :doc do
task :all => ["spec:doc:html", "spec:doc", "spec:rcov", "doc"]
end


task :cruise do
# run the garlic task, capture the output, if succesful make the docs and copy them to ardes
sh "garlic clean && mkdir -p .garlic && (garlic all > .garlic/report.txt)"
`scp -i ~/.ssh/ardes .garlic/report.txt ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}_garlic_report.txt`
cd ".garlic/2.2-stable/vendor/plugins/#{plugin_name}" do
cd ".garlic/*/vendor/plugins/#{plugin_name}" do
`rake doc:all`
`scp -i ~/.ssh/ardes -r doc ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}`
end
Expand Down

0 comments on commit c6de614

Please sign in to comment.