echoe updates

This commit is contained in:
John Bintz 2010-05-10 16:03:35 -04:00
parent faa6654b3f
commit 5ee1e97db6
2 changed files with 10 additions and 4 deletions

3
.gitignore vendored
View File

@ -2,5 +2,8 @@
.project .project
coverage/* coverage/*
docs/* docs/*
pkg/*
Manifest
*.gemspec

View File

@ -5,9 +5,6 @@ require 'spec/rake/spectask'
require 'sdoc' require 'sdoc'
require 'sdoc_helpers/markdown' require 'sdoc_helpers/markdown'
require 'echoe' require 'echoe'
require 'pp'
pp RDoc::TopLevel
namespace :apache do namespace :apache do
desc "Generate the configs" desc "Generate the configs"
@ -18,6 +15,13 @@ namespace :apache do
end end
end end
Echoe.new('apache-config-generator') do |p|
p.author = "John Bintz"
p.summary = "A Ruby DSL for programmatically generating Apache configs"
p.ignore_pattern = [ 'spec/**/*', 'test/**/*', 'docs/**/*' ]
p.executable_pattern = [ 'bin/**/*' ]
end
namespace :spec do namespace :spec do
desc "Run RCov tests" desc "Run RCov tests"
Spec::Rake::SpecTask.new('rcov') do |t| Spec::Rake::SpecTask.new('rcov') do |t|
@ -31,6 +35,5 @@ end
Rake::RDocTask.new do |rdoc| Rake::RDocTask.new do |rdoc|
rdoc.template = 'direct' rdoc.template = 'direct'
rdoc.rdoc_files.add('lib') rdoc.rdoc_files.add('lib')
rdoc.main = "lib/apache/config.rb"
rdoc.rdoc_dir = 'docs' rdoc.rdoc_dir = 'docs'
end end