Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix `rake docco`

We can't generate individual files since that breaks docco's
jump-to-file feature.
  • Loading branch information...
commit 4e2690fdeee657356b2040736c6a051d9bca4dd5 1 parent 5f221a2
@mislav mislav authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 Rakefile
View
10 Rakefile
@@ -96,12 +96,12 @@ task :whitespace do
end
end
-rule %r{^docs/.+\.html} => 'src/%n.js' do |task|
- sh 'docco', task.source, :verbose => false
-end
-
desc "Generate docco documentation from source files"
-task :docco => Dir['src/*.js'].map {|f| 'docs/%s.html' % File.basename(f, '.js') }
+task :docco do
+ verbose false do
+ sh 'docco', *Dir['src/*.js']
+ end
+end
# Zepto version number + git sha if available
def version_string

0 comments on commit 4e2690f

Please sign in to comment.
Something went wrong with that request. Please try again.