Sha256: cd1acdab6bd4f1e0a047ce5d7e0c06a3bf2571b889b0a06b1b8e2ebbda1990a7

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 Bytes

Contents

desc "Generate the index."
task :index => :application do
  Rake::Task[:'index:generate'].invoke
end

desc "Try the given text in the indexer/query (type:field optional)."
task :try, [:text, :type_and_field] => :application do |_, options|
  text, type_and_field = options.text, options.type_and_field
  
  Rake::Task[:'try:both'].invoke text, type_and_field
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

6 entries across 6 versions & 1 rubygems

Version Path
picky-0.11.0 lib/tasks/shortcuts.rake
picky-0.10.5 lib/tasks/shortcuts.rake
picky-0.10.4 lib/tasks/shortcuts.rake
picky-0.10.2 lib/tasks/shortcuts.rake
picky-0.10.1 lib/tasks/shortcuts.rake
picky-0.10.0 lib/tasks/shortcuts.rake