Sha256: fd1813999eabed9e25db535937c319a1ac57e7fdf7d6bb2969d88c20e2a67b90

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

namespace :api do
  
  desc "Generate API documentation from RSpec tests"
  task :doc => :environment do
    ENV["API_DOC"] = "YES"
    FileUtils.rm_rf(ApiDoc::Config.view_path)
    Rake::Task['spec:controllers'].invoke
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
api_doc-0.0.11 lib/tasks/api_doc_tasks.rake
api_doc-0.0.10 lib/tasks/api_doc_tasks.rake
api_doc-0.0.9 lib/tasks/api_doc_tasks.rake
api_doc-0.0.7 lib/tasks/api_doc_tasks.rake