Sha256: e0ee09576d0a7c32f6fc58c6495826b7d2b4acb63695fd66b36af1d1cfabf533

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

namespace :cohesion do
  desc 'cohesion rake task'
  task :check, :url do | t, args |
    if args[:url].nil?
      puts
      puts "Usage: rake cohesion:check[url] (eg: check_links[\"http://rubyonrails.org/\"])"
    else
      Cohesion::Check.site(args[:url])
    end
    puts
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cohesion-0.0.2 lib/tasks/check.rake