13 lines
225 B
Ruby
13 lines
225 B
Ruby
|
$LOAD_PATH << 'lib'
|
||
|
|
||
|
require 'apache'
|
||
|
|
||
|
namespace :apache do
|
||
|
desc "Generate the configs"
|
||
|
task :generate, :path do |t, args|
|
||
|
Dir[File.join(args[:path], '**', '*.rb')].each do |file|
|
||
|
require file
|
||
|
end
|
||
|
end
|
||
|
end
|