Sha256: 1e7913391e165b51ba9f869883da2db2c9c280199941104611502dd00120b9db

Contents?: true

Size: 557 Bytes

Versions: 30

Compression:

Stored size: 557 Bytes

Contents

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:category optional)."
task :try, [:text, :index_and_category] => :application do |_, options|
  text, index_and_category = options.text, options.index_and_category
  
  Rake::Task[:'try:both'].invoke text, index_and_category
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

30 entries across 30 versions & 1 rubygems

Version Path
picky-1.5.2 lib/tasks/shortcuts.rake
picky-1.5.1 lib/tasks/shortcuts.rake
picky-1.5.0 lib/tasks/shortcuts.rake
picky-1.4.3 lib/tasks/shortcuts.rake
picky-1.4.2 lib/tasks/shortcuts.rake
picky-1.4.1 lib/tasks/shortcuts.rake
picky-1.4.0 lib/tasks/shortcuts.rake
picky-1.3.4 lib/tasks/shortcuts.rake
picky-1.3.3 lib/tasks/shortcuts.rake
picky-1.3.2 lib/tasks/shortcuts.rake
picky-1.3.1 lib/tasks/shortcuts.rake
picky-1.3.0 lib/tasks/shortcuts.rake
picky-1.2.4 lib/tasks/shortcuts.rake
picky-1.2.3 lib/tasks/shortcuts.rake
picky-1.2.2 lib/tasks/shortcuts.rake
picky-1.2.1 lib/tasks/shortcuts.rake
picky-1.2.0 lib/tasks/shortcuts.rake
picky-1.1.7 lib/tasks/shortcuts.rake
picky-1.1.6 lib/tasks/shortcuts.rake
picky-1.1.5 lib/tasks/shortcuts.rake