1 # Load local config files in /local
3 local_file_supported = Dir[File.join(PROJECT_ROOT, 'local/*.sample')].map { |path| File.basename(path).sub(".sample","") }
4 local_file_supported.each do |file|
5 require "local/#{file}"
9 This Gem supports local developer extensions in local/ folder.
11 #{local_file_supported.map { |f| "local/#{f}"}.join(', ')}
13 Setup default sample files:
16 Current warning: #{$!}
22 # Now load Rake tasks from /tasks
23 rakefiles = Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")]
24 rakefiles.each { |rakefile| load File.expand_path(rakefile) }