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 8895b98 commit 1d4f857
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Rakefile
Expand Up @@ -72,11 +72,9 @@ 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
sh "garlic clean && mkdir -p .garlic && (garlic all > .garlic/report.txt)"
sh "garlic clean && garlic all"
`garlic run > .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
`rake doc:all`
`scp -i ~/.ssh/ardes -r doc ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}`
end
`cd .garlic/*/vendor/plugins/#{plugin_name}; rake doc:all; scp -i ~/.ssh/ardes -r doc ardes@ardes.com:~/subdomains/plugins/httpdocs/doc/#{plugin_name}`
puts "The build is GOOD"
end

0 comments on commit 1d4f857

Please sign in to comment.