Sha256: 335e7d2ff49f49951d17558ea82696779455f2a9f91f7d22f4aafdff05c806bc

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

# encoding: utf-8

require 'adhearsion'

Dir[File.join(File.dirname(__FILE__), "tasks/*.rb")].each do |file|
  require file
end

initializer = Adhearsion::Initializer.new
initializer.configure_plugins
initializer.load_lib_folder
initializer.load_config_file
initializer.load_events_file
initializer.load_routes_file
initializer.start_logging
initializer.init_plugins

Adhearsion::Plugin.load_tasks

puts "\nAdhearsion configured environment: #{Adhearsion.environment}\n" unless ARGV.empty?

desc "Dump useful information about this application's Adhearsion environment"
task :about do
  puts "Adhearsion version: #{Adhearsion::VERSION}"
end

task :default => :about

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/tasks.rb
adhearsion-3.0.0.beta2 lib/adhearsion/tasks.rb
adhearsion-3.0.0.beta1 lib/adhearsion/tasks.rb