Sha256: 5f285c56b8cded5d13ee0bd8934a9aa61c802a28bddd548187d528dae4beb92a
Contents?: true
Size: 878 Bytes
Versions: 18
Compression:
Stored size: 878 Bytes
Contents
if Rails.env != 'production' require 'yard' namespace :doc do desc 'upload to sourceforge' task up: [:yard, :gen_juli] do sh <<-EOSH cd doc/www rsync -avz --delete . ido00,jjedgarj@web.sourceforge.net:htdocs/ EOSH end desc 'generate documents' task :gen_juli do sh <<-EOSH unset RUBYOPT (cd doc/doc-en; juli; juli sitemap; juli recent_update) (cd doc/doc-jp; juli; juli sitemap; juli recent_update) EOSH end YARD::Rake::YardocTask.new do |t| #t.files = ['lib/**/*.rb', OTHER_PATHS] # optional # NOTE: --exclude option value should be Regex rather than # shell wildcard (e.g. foo/**/*.rb) t.options = %w(--private -o doc/www/api --exclude lib/edgarj/templates --exclude lib/generators/edgarj/.*/templates) end end end
Version data entries
18 entries across 18 versions & 1 rubygems