Sha256: 2df872da559deaaeb6c151e074843931824beeb71bf4616fc6b09247fbf34994

Contents?: true

Size: 387 Bytes

Versions: 7

Compression:

Stored size: 387 Bytes

Contents

# Checks to help the user.
#
desc 'Checks if index files are small/missing (index, category optional).'
task :check, [:index, :category] => :application do |_, options|
  index, category = options.index, options.category

  specific = Indexes
  specific = specific[index]    if index
  specific = specific[category] if category
  specific.check

  puts "All checked indexes look ok."
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picky-3.0.0 lib/tasks/checks.rake
picky-3.0.0.pre5 lib/tasks/checks.rake
picky-3.0.0.pre4 lib/tasks/checks.rake
picky-3.0.0.pre3 lib/tasks/checks.rake
picky-3.0.0.pre2 lib/tasks/checks.rake
picky-3.0.0.pre1 lib/tasks/checks.rake
picky-2.7.0 lib/tasks/checks.rake