Browse files

Rake task was assuming docs had been generated when they hadn't been.

  • Loading branch information...
1 parent 22dbb3b commit c9d53c562ade0b72c4b31d7ee1c9d99fd51c2d9e @floehopper floehopper committed Jul 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
4 Rakefile
@@ -114,8 +114,8 @@ end
desc "Generate documentation"
task 'generate_docs' => ['clobber_yardoc', 'yardoc']
-desc "Publish docs to Github (relies on running 'generate_docs' task and committing changes to master branch)"
-task 'publish_docs' do
+desc "Publish docs to"
+task 'publish_docs' => 'generate_docs' do
path = "/home/freerange/docs/mocha"
system %{ssh "sudo rm -fr #{path} && mkdir -p #{path}" && scp -r doc/*{path}}

0 comments on commit c9d53c5

Please sign in to comment.