Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
Rather than keep the docs under source control, which doesn't make mu…
Browse files Browse the repository at this point in the history
…ch sense since they're derivative, make it easy to generate them by adding a Rakefile
  • Loading branch information
Empact authored and Andy Shen committed Aug 12, 2008
1 parent 99da2c8 commit ec436e6
Show file tree
Hide file tree
Showing 118 changed files with 32 additions and 5,567 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.project
doc/*
pkg/*
29 changes: 29 additions & 0 deletions Rakefile
@@ -0,0 +1,29 @@
require 'rubygems'
require 'rake/gempackagetask'
require 'rake/testtask'
require 'rake/rdoctask'

# read the contents of the gemspec, eval it, and assign it to 'spec'
# this lets us maintain all gemspec info in one place. Nice and DRY.
spec = eval(IO.read("campaign_monitor.gemspec"))

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end

task :install => [:package] do
sh %{sudo gem install pkg/#{GEM}-#{VERSION}}
end

Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test*.rb']
t.verbose = true
end

Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.rdoc_dir = 'doc'
rd.options = spec.rdoc_options
end
170 changes: 0 additions & 170 deletions doc/classes/CMCampaignSummary.html

This file was deleted.

22 changes: 0 additions & 22 deletions doc/classes/CMCampaignSummary.src/M000003.html

This file was deleted.

111 changes: 0 additions & 111 deletions doc/classes/CMClient.html

This file was deleted.

0 comments on commit ec436e6

Please sign in to comment.