Sha256: 031593278a08818f0f4ab1f9d48137bb3f6aeded15cb2f63ffd8ce3a6225168c

Contents?: true

Size: 766 Bytes

Versions: 20

Compression:

Stored size: 766 Bytes

Contents

# Shortcut tasks.
#

desc "Generate the index (random order)."
task :index => :application do
  Rake::Task[:'index:randomly'].invoke
end

desc "Try the given text in the indexer/query (index and category optional)."
task :try, [:text, :index, :category] => :application do |_, options|
  text, index, category = options.text, options.index, options.category

  Rake::Task[:'try:both'].invoke text, index, category
end

desc "Application summary."
task :stats do
  Rake::Task[:'stats:app'].invoke
end
desc "Analyze your indexes (needs rake index)."
task :analyze do
  Rake::Task[:'stats:analyze'].invoke
end

desc "Start the server."
task :start do
  Rake::Task[:'server:start'].invoke
end
desc "Stop the server."
task :stop do
  Rake::Task[:'server:stop'].invoke
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
picky-2.6.0 lib/tasks/shortcuts.rake
picky-2.5.2 lib/tasks/shortcuts.rake
picky-2.5.1 lib/tasks/shortcuts.rake
picky-2.5.0 lib/tasks/shortcuts.rake
picky-2.4.3 lib/tasks/shortcuts.rake
picky-2.4.2 lib/tasks/shortcuts.rake
picky-2.4.1 lib/tasks/shortcuts.rake
picky-2.4.0 lib/tasks/shortcuts.rake
picky-2.3.0 lib/tasks/shortcuts.rake
picky-2.2.1 lib/tasks/shortcuts.rake
picky-2.2.0 lib/tasks/shortcuts.rake
picky-2.1.2 lib/tasks/shortcuts.rake
picky-2.1.1 lib/tasks/shortcuts.rake
picky-2.1.0 lib/tasks/shortcuts.rake
picky-2.0.0 lib/tasks/shortcuts.rake
picky-2.0.0.pre3 lib/tasks/shortcuts.rake
picky-2.0.0.pre2 lib/tasks/shortcuts.rake
picky-2.0.0.pre1 lib/tasks/shortcuts.rake
picky-1.5.4 lib/tasks/shortcuts.rake
picky-1.5.3 lib/tasks/shortcuts.rake