Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (23 sloc) 0.669 kb
71fc5f8 @koichiro bundlize
koichiro authored
1 # -*- mode: ruby; coding: utf-8 -*-
89be63b @jugyo switch to jeweler
authored
2 require 'rubygems'
71fc5f8 @koichiro bundlize
koichiro authored
3 require 'bundler'
4
89be63b @jugyo switch to jeweler
authored
5 require 'rake'
71fc5f8 @koichiro bundlize
koichiro authored
6 require 'rake/clean'
7 require 'rake/rdoctask'
8 require 'rake/gempackagetask'
89be63b @jugyo switch to jeweler
authored
9
71fc5f8 @koichiro bundlize
koichiro authored
10 Bundler::GemHelper.install_tasks
9317ba9 @Sixeight add gem:install task
Sixeight authored
11
71fc5f8 @koichiro bundlize
koichiro authored
12 require 'rspec/core/rake_task'
13 RSpec::Core::RakeTask.new(:spec) do |spec|
14 spec.pattern = FileList['spec/**/*_spec.rb']
89be63b @jugyo switch to jeweler
authored
15 spec.rcov = true
be25fd9 @jugyo Modified Rakefile.
authored
16 end
7738015 @Sixeight add rcov task
Sixeight authored
17
89be63b @jugyo switch to jeweler
authored
18 task :spec => :check_dependencies
be25fd9 @jugyo Modified Rakefile.
authored
19
89be63b @jugyo switch to jeweler
authored
20 task :default => :spec
be25fd9 @jugyo Modified Rakefile.
authored
21
71fc5f8 @koichiro bundlize
koichiro authored
22 desc 'Generate documentation for the termtter.'
89be63b @jugyo switch to jeweler
authored
23 Rake::RDocTask.new do |rdoc|
24 rdoc.rdoc_dir = 'rdoc'
71fc5f8 @koichiro bundlize
koichiro authored
25 rdoc.title = "Termtter"
26 rdoc.options << '--line-numbers' << '--inline-source'
89be63b @jugyo switch to jeweler
authored
27 rdoc.rdoc_files.include('README*')
28 rdoc.rdoc_files.include('lib/**/*.rb')
29 end
Something went wrong with that request. Please try again.