Sha256: 8dae08bb4d8f7ad6d9dc40713574b677f4ddf2f5dbdd8fbe28ad1e549c7cee32
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
require 'rake' require 'rake/gempackagetask' require 'rake/rdoctask' require 'spec/rake/spectask' task :default => ['spec'] desc 'generate API documentation to doc/index.html' Rake::RDocTask.new do |rd| rd.rdoc_dir = 'doc' rd.main = 'README' rd.rdoc_files.include "README", "lib/media_wiki/**/*\.rb", "script/**/*\.rb" rd.options << '--inline-source' rd.options << '--line-numbers' rd.options << '--all' end desc "Run all specs" Spec::Rake::SpecTask.new('spec') do |t| t.spec_files = FileList['spec/**/*.rb'] t.spec_opts = ['--debugger'] t.rcov = true t.rcov_opts = ['--exclude', 'spec,gems'] end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "mediawiki-gateway" gemspec.summary = "Connect to the mediawiki API" gemspec.description = "" gemspec.email = "jpatokal@iki.fi" gemspec.homepage = "http://github.com/jpatokal/media_wiki_gateway" gemspec.authors = ["Jani Patokallio"] gemspec.add_dependency 'rest-client' end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mediawiki-gateway-0.1.3 | Rakefile |