Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix rdoc rake task

  • Loading branch information...
commit 31db5151f52c16c02aa7a65fa8a514317ddb8b85 1 parent 0178a68
@nofxx nofxx authored
Showing with 5 additions and 2 deletions.
  1. +2 −0  .gitignore
  2. +3 −2 Rakefile
View
2  .gitignore
@@ -1 +1,3 @@
*.gem
+rdoc/
+pkg/
View
5 Rakefile
@@ -6,7 +6,7 @@ require 'rspec/core/rake_task'
CLEAN.include('**/*.gem')
-desc "Creates the TicGit gem"
+desc "Creates the TicGit-ng gem"
task :create_gem => [:clean] do
spec = eval(IO.read('ticgit-ng.gemspec'))
gem = Gem::Builder.new(spec).build
@@ -20,10 +20,11 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = ['--backtrace --colour']
end
+desc "Creates rdoc documentation"
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION').chomp : ""
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "postgis_adapter #{version}"
+ rdoc.title = "TicGit-ng #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Please sign in to comment.
Something went wrong with that request. Please try again.