以下の内容はhttps://tbpgr.hatenablog.com/entry/20130719/1374247873より取得しました。


YARD | YARDをRakeから呼び出す

概要

YARDをRakeから呼び出す

内容

YARDをRakeから呼び出します。

rakeタスクの作成

lib/tasksにyard.rakeを作成

require 'yard'
require 'yard/rake/yardoc_task'
FILES = ['app/controllers/**/*.rb',
              'app/helpers/**/*.rb', 
              'app/mailers/**/*.rb', 
              'app/models/**/*.rb']
OPTIONS = ['--debug', '--verbose']

YARD::Rake::YardocTask.new do |t|
  t.files   = FILES
  t.options = []
  t.options << OPTIONS if $trace
end

実行

bundle exec spring rake yardoc



以上の内容はhttps://tbpgr.hatenablog.com/entry/20130719/1374247873より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14