Sha256: 86840ab8805bdf47db05f6d81e6c69920d054a75281a30ac164081f237f7843d

Contents?: true

Size: 479 Bytes

Versions: 45

Compression:

Stored size: 479 Bytes

Contents

# Tasks for manually testing your engine configuration.
#
desc "Try the given text in the indexer/query (index and category optional)."
task :try, [:text, :index, :category] => :application do |_, options|
  puts
  fail "\x1b[31mrake try needs a text to try indexing and query preparation\x1b[m, e.g. rake 'try[yourtext]'." unless options.text

  require File.expand_path '../try', __FILE__
  try = Picky::Try.new options.text, options.index, options.category
  try.to_stdout
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
picky-3.1.4 lib/tasks/try.rake
picky-3.1.3 lib/tasks/try.rake
picky-3.1.2 lib/tasks/try.rake
picky-3.1.1 lib/tasks/try.rake
picky-3.1.0 lib/tasks/try.rake