Sha256: 008484dcb0b5ea009c907ce7f8151c5e0b413ca4b40af48f51d0b3d0e962d2b9

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

begin
  require "launchy"
rescue LoadError => e
  puts "Install launchy gem to automatically open the report in your browser"
end

namespace :route_dog do
  desc "Clean Tested Routes File"
  task :clean do
    File.delete("test/mock_app/tmp/route_dog_routes.yml") if File.exists? "test/mock_app/tmp/route_dog_routes.yml"
    puts "\nRoute Dog tested routes definition file deleted."
  end

  desc "Create A Html Report Of The Routes Defined, Tested And Used"
  task :report => :environment do
    puts "\nCreate A Html Report Of The Routes Defined, Tested And Used\n"
    RouteDog::Report.generate
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
route_dog-2.4.2 lib/tasks/tasks.rake