Sha256: ef3708d8d3e338a383cbb0cd6279e3dd9aad63efdfb3751dc34205c7bd3f0466

Contents?: true

Size: 369 Bytes

Versions: 15

Compression:

Stored size: 369 Bytes

Contents

# require 'weeter/tasks'
# will give you the weeter tasks

namespace :weeter do
  task :setup do
    require 'weeter'
    # extend this task to set the config path
  end

  desc "Start Weeter"
  task :start => :setup do
    configuration_file = ENV['WEETER_CONFIG_PATH']
    load configuration_file
    Weeter::Runner.new(Weeter::Configuration.instance).start
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
weeter-0.19.4 lib/weeter/tasks.rb
weeter-0.19.3 lib/weeter/tasks.rb
weeter-0.19.2 lib/weeter/tasks.rb
weeter-0.19.1 lib/weeter/tasks.rb
weeter-0.19.0 lib/weeter/tasks.rb
weeter-0.18.0 lib/weeter/tasks.rb
weeter-0.17.0 lib/weeter/tasks.rb
weeter-0.15.0 lib/weeter/tasks.rb
weeter-0.14.0 lib/weeter/tasks.rb
weeter-0.13.0 lib/weeter/tasks.rb
weeter-0.11.0 lib/weeter/tasks.rb
weeter-0.10.0 lib/weeter/tasks.rb
weeter-0.9.2 lib/weeter/tasks.rb
weeter-0.9.1 lib/weeter/tasks.rb
weeter-0.9.0 lib/weeter/tasks.rb