From 5ee1e97db6fbf82ceaec7372d09fb67e43b38626 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 10 May 2010 16:03:35 -0400 Subject: [PATCH] echoe updates --- .gitignore | 3 +++ Rakefile | 11 +++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0c4ab5e..ffd3034 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,8 @@ .project coverage/* docs/* +pkg/* +Manifest +*.gemspec diff --git a/Rakefile b/Rakefile index b7383e8..71ef6e0 100644 --- a/Rakefile +++ b/Rakefile @@ -5,9 +5,6 @@ require 'spec/rake/spectask' require 'sdoc' require 'sdoc_helpers/markdown' require 'echoe' -require 'pp' - -pp RDoc::TopLevel namespace :apache do desc "Generate the configs" @@ -18,6 +15,13 @@ namespace :apache do 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 desc "Run RCov tests" Spec::Rake::SpecTask.new('rcov') do |t| @@ -31,6 +35,5 @@ end Rake::RDocTask.new do |rdoc| rdoc.template = 'direct' rdoc.rdoc_files.add('lib') - rdoc.main = "lib/apache/config.rb" rdoc.rdoc_dir = 'docs' end