Sha256: 868dfe08d453570ddfa1e8905ed3cf680dfc7da5ec9aab747e1792083b82ad07

Contents?: true

Size: 715 Bytes

Versions: 8

Compression:

Stored size: 715 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.initialize_log_paths
initializer.start_logging
initializer.init_plugins

Adhearsion::Plugin.load_tasks

puts "\nAdhearsion configured environment: #{Adhearsion.config.platform.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

8 entries across 8 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/tasks.rb
adhearsion-2.6.3 lib/adhearsion/tasks.rb
adhearsion-2.6.2 lib/adhearsion/tasks.rb
adhearsion-2.6.1 lib/adhearsion/tasks.rb
adhearsion-2.6.0 lib/adhearsion/tasks.rb
adhearsion-2.5.4 lib/adhearsion/tasks.rb
adhearsion-2.5.3 lib/adhearsion/tasks.rb
adhearsion-2.5.2 lib/adhearsion/tasks.rb